[jboss-user] [JBoss jBPM] - Re: How to find out current node/state in process instance?

wfenthusiast do-not-reply at jboss.com
Mon Mar 19 17:01:27 EDT 2007


Most of the time u don't need to know which transition to activate (unless in special cases of forks, decisions etc..)

ProcessInstance.signal()

will find the default leaving transition from the current node where the root token is parked and signal it to the next node.

If u really want to know which node the process-instance is in use this

ProcessInstance.getRootToken().getNode()

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029501#4029501

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029501



More information about the jboss-user mailing list