AnsweredAssumed Answered

Activiti Async - Executing Service task asynchronously

Question asked by ysagar on Sep 14, 2017

Question about Activiti Async.

 

I have a scenario where a service task needs to be executed asynchronously. I can use async attribute to true. After the results are obtained signal the receive task to continue the execution that leads to end state or failure state (logging the exception).

 

I read in the documentation that using asyc attribute has some ramifications if Activiti is used in clustered environment. The Optimistic locking exception is thrown etc... 

 

Is there any another way to execuite a service asynchronously?

Outcomes