How can I know which node will be executed after the current one ?
How can I know who is to execute it ?
In a context like start>A>B>C>End , that is really linear say that token is in A, signal is sent, token goes to B. How can I know that next step/state/node is C before to signal ?
Found out the answer for "what's next" :)
Which node is next :
Transition trans = processinstance.getRootToken().getNode().getDefaultLeavingTransition() ; String nextStepName = trans.getTo().getName() ;
Thanks for the answers!
The necessity to know anticipatedly next taskNode("wait for money") to be executed by an user is for showing in the interface of taskNode("evaluate web order") the users and groups responsible for taskNode("wait for money") so that the user who is executing taskNode("evaluate web order") can select the user or the group for which it desires to delegate taskNode("wait for money").