Bernd, As you might already know, only tokens positioned at process states contain a non-null subProcessInstance value. The reference will be gone when the token moves to another node. Furthermore, if the process state occurs in a forked line of execution, a child token will contain the subProcessInstance reference, rather than the root token.
I looked at the solution you proposed in JBPM-477. Testing for a subProcessInstance in the root token is not enough. You have to traverse all descendant nodes recursively, via Token.getChildren() or Token.getActiveChildren(). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3921090#3921090 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3921090 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
