HumanTasks

How to deal with asynchonous transitions

Hello,

If I am right, using the API the execution of human tasks is synchronous (the call to the executeUserTask return when the execution is finished). But after the execution, the transition is executed by Bonita engine asynchronously. So if just after executing a task you ask for the 'next' human task(s) you will retrieve nothing. But if you retry a few times later (100s milliseconds) you will retrieve the 'next', ready human task.

Notifications