[jboss-user] [JBoss jBPM] - Re: Help with concurrent subprocess instances!
estaub
do-not-reply at jboss.com
Mon Jun 18 14:38:10 EDT 2007
Fork (as in ForEachForkActionhandler) is what you want.
There's nothing preventing multiple tokens "for the same way of execution". The fact that they CAN be different doesn't mean they MUST be different.
You wait for all of them to complete by having them transition to a join node (in the parent process). You don't need to do anything more.
So in the parent process, you have a minimum sequence of:
start
fork
sub-process
join
end
The fork creates as many tokens as necessary.
When they reach the join, they will block until everyone is completed.
-Ed Staub
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4055349#4055349
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4055349
More information about the jboss-user
mailing list