This content has been marked as final. 
    
Show                 3 replies
    
- 
        1. Re: Fetching the current tokenkukeltje Oct 18, 2008 11:43 PM (in response to oravecz)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. 
- 
        2. Re: Fetching the current tokenoravecz Oct 19, 2008 10:23 AM (in response to 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?
- 
        3. Re: Fetching the current tokenkukeltje Oct 19, 2008 12:19 PM (in response to oravecz)"oravecz" wrote: The root token... (of which there is only one)
 So, in the case of a fork, what would getRootToken() return?"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 call that recursively if you want all active tokens (and test on 'has active... before', that's more optimal
 
    