This content has been marked as final.
Show 4 replies
-
1. Re: How to start human task for all processInstance
ivanice Nov 26, 2014 11:12 AM (in response to ivanice)edit: sorry but my workflow is this: service-humantask(john)-humantask(mary)-service
-
2. Re: How to start human task for all processInstance
dosten Nov 26, 2014 12:06 PM (in response to ivanice)If I understand correctly, you want to have John and Mary complete the same tasks for the 3 instances you have started.
In that case, the calls to taskService.getTasksAssignedAsPotentialOwner should return multiple tasks. Just loop through those to start and complete them.
-
3. Re: How to start human task for all processInstance
ivanice Nov 26, 2014 6:15 PM (in response to dosten)then if I make: TaskSummary task = list.get(0); then I take the task for the first processInstance started???
and then with list.get(1) I take the task for the next process?
-
4. Re: How to start human task for all processInstance
dosten Dec 1, 2014 1:05 PM (in response to ivanice)Correct.