cancel
Showing results for 
Search instead for 
Did you mean: 

activiti taskService complete fails when executed concurrently

udaya1
Champ in-the-making
Champ in-the-making

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 1

cjose
Elite Collaborator
Elite Collaborator

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