[jboss-dev-forums] [jBPM Development] - How can I find GroupId
luke Tang
do-not-reply at jboss.com
Wed Mar 28 03:37:49 EDT 2012
luke Tang [https://community.jboss.org/people/ltduck] created the discussion
"How can I find GroupId"
To view the discussion, visit: https://community.jboss.org/message/726835#726835
--------------------------------------------------------------
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
[https://community.jboss.org/message/726835#726835]
Start a new discussion in jBPM Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2035]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20120328/457ce292/attachment.html
More information about the jboss-dev-forums
mailing list