How to design a loop in process?

Hi,

currently I have this two tasks in model.
First a service task calling a report to printout something, then a user task to check the output.
grafik

No the customer demand is, that the user who’s working on the user task can change a process variable and execute the print task again. This all unlimited times.

The solution I found is to add a boolean field to the user task form where the user can decide to continue in the process or do another printout and check again.
grafik

The drawback is, that I have to submit the User Task form to submit the changed data (process variables).
So a new user task is created after reprinting the report. The user has to open the newly created task.

Is there any other solution for this kind of request?

Regards, Frank

Hi @langfr,

I couldn’t see any wrong with your new model. It should be this way based on the business needs.

Hi Frank,

you could ask the user to check ‘print without doublecheck’ in the form and add a XOR-Gateway between the service- and the user task if the print should be checked. If not, you skip the user task.

Hope this helps, Ingo