AnsweredAssumed Answered

Async service task retry after success

Question asked by pineapple on Aug 31, 2016
Latest reply on Sep 8, 2016 by jbarrez
Hi,

I executed the following model (instance diagram picture: https://s13.postimg.org/x3g0j6oiv/Async_task_sync_problem.jpg):
Start Event -> Service Task -> Inclusive Parallel Gateway with Service Tasks -> Service Task -> End Event.

When the workflow starts, all the service tasks gets instantiated properly, and the task execution completes successfully for all of them.
However, in logs we see that some successful tasks (inside the inclusive gateway scope) are being executed again (3 times) and as you can see in the instance diagram picture there is a probelm with service task "C".

I found the following topic which described similar problem: https://forums.activiti.org/content/async-service-tasks-fails-update-status
How to configure org.activiti.engine.impl.interceptor.CommandConfig#contextReusePossible to false ?
Is that the correct solution?

Thanks.

Outcomes