JBoss Community

How can I find GroupId

created by luke Tang in jBPM Development - View the full discussion

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();

}

Reply to this message by going to Community

Start a new discussion in jBPM Development at Community