Hi Everyone, I am looking for a camunda solution. Example process - In Camunda, I have a process with 8 sequential service tasks. I need to implement a mechanism that will automatically restart the process execution from Service Task 2 regardless of which service task is currently executing. I need to interrupt my current process and re-start from service task 2.
Precision in the description is important in this case: Do you want to interrupt (finish) the current process execution and start a new instance from the Service Task 2 or do you want to interrupt whatever task is being executed at the moment and, in the same process instance, go back to the Service Task 2?
What if the current task is Service Task 7? What happens to the result of the tasks already processed (1, 2 ,3 ,4, 5 and 6)? Is it rolled back?
If the idea is just going back to Service Task 2 and ignore the outcomes of every finished task at the moment the interruption was triggered, this probably works:
All you have to do is send a message to correlate to the instance you want. The sub-process will be interrupted, therefore interrupting any task within it, and the execution will return to the beginning of the sub-process, starting at Service Task 2 again.
