Return the task to previous

is it possible to return the task to a previous one in the process? Example is in task 2 but wanted to go back to task 1

example

Hi Marcelo, yes, you can modify the process instance to move the ‘token’ from one spot in the process to any other spot in the process using Camunda’s REST APIs for process instance modification. For more information have a look at https://docs.camunda.org/manual/latest/reference/rest/process-instance/post-modification/

More information regarding process modification using Java APIs https://docs.camunda.org/manual/latest/user-guide/process-engine/process-instance-modification/

But you should be careful when modifying process instances as it can lead to unexpected behavior. Whenever possible, model processes to account for re-work and transitions.

Joe

1 Like

@MarceloCP what’s your usecase for moving backwards to the completed task? Can you elaborate more on why you wanted to move from task 2 to task 1?

thanks, it worked perfectly