activiti taskService complete fails when executed concurrently

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Member II

activiti taskService complete fails when executed concurrently

Hi I am facing a strange situation where I am trying to set a set of tasks as complete all concurrently.

The first one goes through and second one goes through sometimes (rarely) but mostly doesnt go through. When I do these individually they work. Something to do with database locking I feel. Is there some workaround or code for executing task and variable updates concurrently ?

1 Reply
Highlighted
Senior Member II

Re: activiti taskService complete fails when executed concurrently

Can you post the stack-trace and since it is easily reproducible, a unit test as well? Which database and activiti versions are you using?

There is plenty of threads on the forum discussing similar issues which you can look for tips and workarounds!

Ciju