AnsweredAssumed Answered

Wait until the next UserTask after completing the current UserTask

Question asked by mf on Sep 28, 2014
Latest reply on Sep 29, 2014 by martin.grofcik
After completing the current UserTask, i want to be able to wait (block), until all intermediate non-UserTask activities are completed, and the next UserTask become active. How can i do that? For example:
1- Completing UserTask
2- Wait until service, script and rule tasks are completed
3- The next UserTask is active

[img=552x68]http://upload7.ir/imgs/2014-09/72637555479539062865.png[/img]


taskService.complete(taskId);
//wait until all non-usertasks done and next UserTask become active ????


Thanks

Outcomes