[jboss-user] [jBPM] - How to find current waiting node

Maurice de Chateau do-not-reply at jboss.com
Thu May 20 06:05:28 EDT 2010


Maurice de Chateau [http://community.jboss.org/people/MohReece] replied to the discussion

"How to find current waiting node"

To view the discussion, visit: http://community.jboss.org/message/544003#544003

--------------------------------------------------------------
Hi Kiran,

Since you were referring to jBPM 3.2.8 in your previous post, I think Maciej's response is not exactly what you're looking for (no offense!).

To find the current node for a process instance in jBPM 3, you go through the token:

Node currentNode = procInst.getRootToken().getNode();


You can then get at its name, transitions, etc.

Regards,
Maurice

--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/544003#544003]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100520/552448d7/attachment.html 


More information about the jboss-user mailing list