"jim.mcmaster" wrote : I wrote a custom fork handler that does this. Instead of forking off a single child token for each outgoing transition, it forks off a child token for each element in the list for each transition. I use it with a single outgoing transition, so the effect should be what you describe. The code is a simple modifcation of the sample at http://wiki.jboss.org/wiki/attach?page=ForEachForkActionHandler%2FForEachForkActionHandler.java. I do not have it at home, but could send it to you on Monday if you want. |
I looked at the example. I understand the inner for loop around the collection. What I don't understand is why there is a loop around the transitions. Is it because you want to automatically do a foreach on every transition out of the node? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3926199#3926199 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926199 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user