[jbpm-dev] [jBPM Development] - Re: Multiple instances with synchronization

sebastian.s do-not-reply at jboss.com
Fri Oct 30 05:01:00 EDT 2009


According to this site jBPM 3.x supports the variant without synchronization:

http://www.workflowpatterns.com/patterns/control/multiple_instance/wcp12.php

Is this also the case for jBPM 4.x? If yes this would be the point to start, no?

http://www.workflowpatterns.com/patterns/control/index.php

Workflow Patterns lists 3 variants of your desired pattern. Take a look at the patterns 13, 14 and 15. Before you can think of an implementation first of all you would have to be sure about what you are trying to achieve.

Basically instead of a task or subprocess being created directly a kind of "controller" would need to be created who creates the number of process or task instances which is needed. It would need to hold a list of all created instances. As soon as an instance has finished the controller would need to be notified. As soon as it has received notifications from all instances in the maintained list the process flow could continue.



View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263113#4263113

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263113


More information about the jbpm-dev mailing list