-
1. Re: next Task Node
jbaton Jul 6, 2006 10:21 AM (in response to eskina)Same question.
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 ?
Thanks
JBATON -
2. Re: next Task Node
jbaton Jul 6, 2006 11:05 AM (in response to eskina)Found out the answer for "what's next" :)
Which node is next :Transition trans = processinstance.getRootToken().getNode().getDefaultLeavingTransition() ; String nextStepName = trans.getTo().getName() ;
Jerome BATON -
3. Re: next Task Node
eskina Jul 6, 2006 3:38 PM (in response to eskina)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").
Very thanks! -
4. Re: next Task Node
jbaton Jul 7, 2006 2:44 AM (in response to eskina)You're welcome,
I just looked at the source of the method signal()
If you can help me with my problem ... :)
See http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955844
JBaton