AnsweredAssumed Answered

Process asynchronously without OptimisticLockException

Question asked by rolintoucour on Sep 7, 2017



I want to start 3 ServiceTask asynchronously in parallel gateways, then gather the result of the 3 tasks in an ending parallel gateway.


WIth activiti 5.16, as I understood its behavior, the ending parallel gateway will finish when the first service task finishes, then the 2 other service tasks will fail in an OptimisticLockException. That is also what I experienced (and the 2 failed task will retry...).


Is there no way to do it properly yet?