JBoss Community

How to retrieve userid in jbpm5.2 ?

created by kifayath khan in jBPM - View the full discussion

I have successfully executed the sample evaluation in jbpm 5.2, I got the processid from processInstance class, so how could i get the userid and taskid for a particular task ?

 

 

 

params.put("employee", "krisv");
            params.put("reason", "Yearly performance evaluation");
            ProcessInstance processInstance = ksession.startProcess("com.sample.evaluation", params);
            long processId = processInstance.getId();
            System.out.println("Process Id"+processId);

Reply to this message by going to Community

Start a new discussion in jBPM at Community