I have a process with several tasks, Consider I have three tasks in my process, and I am at task 3 but due to few reasons, I want to execute task 1 again for that process-instance. Can i do that?
@satyaram413 your process instance is still active or completed?
Its Still active, I will have a dropdown where I will list all the previous tasks, from where I select one of em
It can be done easily. In Task3 you have to choose whether execution need to be routed back to task1 or need to be ended. By setting the value to the variable routeBackToTask1 and using that variable in Gateway2 to make decision whether #{routeBackToTask1}
is evaluated to true and need to route to Task1 or take the default flow and end the process.
BPMN File: routeprocess.bpmn (6.2 KB)
My route to previous task is generic, based on user choice, would I be able to route to task2 or task1 based on user choice.
@satyaram413 you need to adjust the model like routing to task 1,it will work. For more details read about exclusive-gateway
BPMN file: routeprocess.bpmn (7.7 KB)