-
1. Re: jbpm5 parallel processing of tasks
bpmn2user Jun 13, 2011 5:15 PM (in response to imoraru)Did you try 'Multiple Instances' component, i.e., not using forks?
Here is an example:
http://community.jboss.org/people/bpmn2user/blog/2011/03/05/jbpm5--multiple-instances
-
2. Re: jbpm5 parallel processing of tasks
imoraru Jun 15, 2011 11:19 AM (in response to bpmn2user)Does not work. Still executes in sequence. Even after I have changed the 'Wait for completion' value of the sub-process to false.
Ion
-
3. Re: jbpm5 parallel processing of tasks
eaa Jun 16, 2011 1:46 PM (in response to imoraru)As you realized, startProcess() (and all the api's methods) are synchronous. This is not actually a problem for long running processes because of the persistence mechanism implemented by jbpm5
For multiple processes running at the same time you will need to execute startProcess() in different threads.
JBPM5 doesn't support real parallel (multi-threaded) flow execution. So, every time you use a diverge gateway or a multiple-instance node, flows will be executed one at a time.
Maybe you can share your requisites with us so we can help you in find the best way to fulfill them.
-
4. Re: jbpm5 parallel processing of tasks
jbpm.user Nov 7, 2011 5:33 AM (in response to imoraru)Hello,
Do you have any issue to this problem ?