How to handle return and resubmit tasks?

cancel
Showing results for 
Search instead for 
Did you mean: 
Member II

How to handle return and resubmit tasks?

 I need to flag task when returned to the previous task

TASK01------------------>TASK02------------------------->TASK01 (This Task is returned task from task02)

And after coming to the same task it should be flagged

TASK01------------------>TASK02------------------------->TASK01------------------>TASK02 (This Task is resubitted)

3 Replies
Highlighted
Senior Member II

Re: How to handle return and resubmit tasks?

You can model it in the BPMN, it is possible to loop back to a previous task.

Ciju

Highlighted
Member II

Re: How to handle return and resubmit tasks?

Dear Joseph

how it works on activiti. do we need to modify the engine. basically in the user task pad i want to highlight the task as "RETURN" or "RESUBMIT", so that the user can immediately action

Highlighted
Senior Member II

Re: How to handle return and resubmit tasks?

If you are using the form features in Activiti 6, I believe there is an option for you to configure outcomes which is basically buttons on a task form. If you are not using forms, you will need to manage those using process variables. While completing a task using Return/Resubmit button, you can then set the process variable accordingly and in the BPMN model you can use an exclusive gateway to conditionally route to the appropriate task