How to Run one BPM process multithreaded

cancel
Showing results for 
Search instead for 
Did you mean: 
sarveshmvm
Active Member II

How to Run one BPM process multithreaded

Hello,

I have a requirement where I have to run a BPM process in a multi-threaded fashion. I have tried different approaches namely setting async = true and exclusive = false.  

What I am trying to achieve? 

1. I have a leave application process with multiple steps which involves service tasks ( approx 10 )

2. When we try to initiate a process two to three times for testing purpose, it initiates three processes but all three processes are not running independently. 

3. Issue : When one of the step in process 1 is complete, another step in process 2 starts and once this is complete , it kicks off the next step in process 1 and once this is complete , it kicks off the 1st step in process 3.

Hope I am not confusing. I have tried enabling the Async at the executor bean and no luck.

Any experts advice?

Referred the below post:

https://stackoverflow.com/questions/47301783/activiti-parallel-service-tasks