AnsweredAssumed Answered

Activiti current task behaviour with asynchronous tasks

Question asked by sdesbure on Jun 26, 2015
Latest reply on Jul 3, 2015 by martin.grofcik
Hello,
I'm using activiti mostly with asynchronous services tasks. The issue is if I "simply" chain these tasks, the current task id (which seems to be relied to act_id_ column in act_ru_execution) is not updated.
In order to have this update, I've added a receive task for each asynch service task and now it's updated.
But I found this "solution" not good because :
  • it complexify a lot the process (I add a parallel gateway before and after each pair of tasks)
  • testability is worse because I didn't figured out how to simply test one service task (the service task "signal" the receive task but to know it, we have to start the full process…)
Is there a better way to do that (know the current task in a process from the REST interface with asynchronous tasks)?

thanks!

Outcomes