AnsweredAssumed Answered

Async multi instance runs in 1 transaction

Question asked by stainii on Mar 17, 2015
Latest reply on Mar 24, 2015 by jbarrez

We use Spring 3.2 and Activiti 5.17. Our transactionmanager has a timeout of 5 seconds.

We have a multi-instance for 3 items and each item starts with an exclusive gateway check. This read-only check takes 2 seconds. We would expect that every item runs in a separate transaction. But we see a timeout exception when the third item is called.

After some testing, we found out that Activiti starts one transaction, and reuses it for every instance?

We've made sure that async is true for the multi-instance (see attachment).

Are we missing something here?

Kind regards,