This content has been marked as final.
Show 2 replies
-
1. Re: Clustering in jBPM V6 - Using parallel gateways
swiderski.maciej Feb 23, 2015 3:36 AM (in response to eshevchenko)1 of 1 people found this helpfulno, jBPM will execute activities on the same jvm. If you would like to achieve cross cluster member processing of single process instance you could create number of async tasks that are backed by jbpm executor. WIth that tasks will be picked up by all cluster members but the order is not guaranteed.
One important note with this is since you are operating on same process instance it will cause race conditions on db side for storing updates to process instance since they will be done in parallel. Especially when async tasks are taking pretty much same amount of time.
HTH
-
2. Re: Clustering in jBPM V6 - Using parallel gateways
eshevchenko Feb 23, 2015 5:33 AM (in response to swiderski.maciej)Thanks Maciej, sounds good! I should investigate, how to work with async tasks.