Hello everyboby:
I want to get next HumanTask's actorId or groupId .
I used ProcessEventListener to monitor the task flow, in the beforeNodeTriggered method I can get the node(Human Task) which I'm going to arrive in the next,throw this method I can get the node's Id, name, metaData... but there's no actorId or groupId,
How can I get the HumanTask'actorId or groupId I'm going to arrive ?!
| public void beforeNodeTriggered(ProcessNodeTriggeredEvent nodeEvt) { |
|
| NodeInstance nodeInstance = (NodeInstance)nodeEvt.getNodeInstance(); |
|
| nodeInstance.getNodeId(); |
|
| nodeInstance.getNodeName(); |
|
| nodeInstance.getProcessInstance(); |
| } |