-
1. Re: How to get actors in jBPM
salaboy21 Mar 6, 2014 9:06 AM (in response to wailwinmoe)Hi Wai,
I'm not sure to understand what is the problem that you are trying to solve.
If you have a business process you know which groups/users are assigned to the tasks right?
Then you need to use the task service APIs to query for this tasks depending the user that is logged in to the system right?
From the User Task perspective you usually don't care about which process is requiring the task, you just get all the tasks associated with one user or group.
HTH
-
2. Re: How to get actors in jBPM
hwintun Mar 14, 2014 8:45 AM (in response to wailwinmoe)Hi,
I am using like that.
ProcessInstance instance = (ProcessInstance) StatefulKnowledgeSession.getProcessInstance(processInstaceId);
WorkflowProcessInstance workflowProcessInstance = (WorkflowProcessInstance) instance;
workflowProcessInstance.getVariable("variableName");
In this way, you can get dynamic actor value, by giving variableName.
I think, it will be help you.