[jboss-user] [JBoss jBPM] - Re: Fetching the current token

2008-10-19 Thread oravecz
So, in the case of a fork, what would getRootToken() return? Also, is getActiveChildren() the way to get a list of all active tokens on a process instance? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4183067#4183067 Reply to the post :

[jboss-user] [JBoss jBPM] - Re: Fetching the current token

2008-10-19 Thread kukeltje
oravecz wrote : So, in the case of a fork, what would getRootToken() return? | The root token... (of which there is only one) oravecz wrote : | Also, is getActiveChildren() the way to get a list of all active tokens on a process instance? No, active child tokens of a token, so you have to

[jboss-user] [JBoss jBPM] - Re: Fetching the current token

2008-10-18 Thread kukeltje
good guess... there can be multiple tokens. e.g. when you use forks, so there is no 'current' token. A token is always in the context of something. e.g. a node ,task subprocess. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4183057#4183057 Reply to the post