cancel
Showing results for 
Search instead for 
Did you mean: 

Modelling Loop in Task with several users

lordcenzin
Champ in-the-making
Champ in-the-making
Hello all,
this is my first post here. The question is more from the business point of view.
I'm trying to represent an easy-to-read workflow where I can have several identical subtask that have to be sequentially.
The key point is that I have to consider both exit conditions:
- any of the user rejects and the entire sequence fails
- any of the user rejects and the workflows moves one task back.
The current assignee of the step can choose the rejection reason.

Now: can I represent the scenario by managing the sequence of assignee into a service task and then return back to the task?
Same approach if I have to return after the user successfully completed the task.

I attached the bpmn for further clarification.

Thanks in advance
1 REPLY 1

jbarrez
Star Contributor
Star Contributor
You can indeed do it using a service task. It's not the prettiest diagram, but it will work if you set the right variables in the service task (like assignee) for the task.