AnsweredAssumed Answered

How can I prevent a process execution is run multiple times?

Question asked by mamue on Jun 19, 2012
Latest reply on May 3, 2016 by jbarrez

we provide a list of open tasks to our users.
The same user can display this list in different web sessions.
He or she may proceed the same task from different sessions at nearly the same time.
This results in multiple calls to taskService.complete(taskId) with the same taskId.
I expect that the second and all further calls of taskService.complete(taskd) fail, but they do not - at least if the first call is still be executed.

How can I prevent multiple executions of the same task?

Kind regards,
Markus Mueller