AnsweredAssumed Answered

New to Activiti: Question about multi instance activity

Question asked by elkammar on Apr 10, 2015
Latest reply on Apr 22, 2015 by martin.grofcik

We are running few POC's to evaluate if we can use Activiti for our automation framework. So far I like it, however, I just have difficulties understanding how does Activiti handles the multi-instance activity in parallel, so far it appears to be doing that on the same thread, is that normal or am I missing something here?

What I have done is a very simple workflow, that has a call-activity, that has a specific number for its "loop cardinality" parameter, and I set "sequential" to false. I was expecting all instance threads to start around the same time and run in parallel, but what I saw is that they use the same thread and they start sequentially.

I use activity engine version 5.17.0, I have set the "asyncExecutorEnabled" and "asyncExecutorActivate" to true, and disabled "jobExecutorActivate", I tested this scenario on the Activiti explorer.

I apologize if I am missing something obvious as I just started using it to see how it fits in our architecture.

Thank you!