How do you go back to a previous step in a Flow

Dbasi1
Tera Expert

I have been trying to attempt to get a flow to jump back to an earlier step in the case where an approval on a Catalog item is rejected, however, I do not see a simple way of achieving this.

3 REPLIES 3

Yash Agrawal1
Tera Guru

Hello Dbasi,

Use Rollback or Turnstyle activity.

That will help you a lot.

The Rollback To activity transitions directly to the activity specified by the outgoing transition line arrow.

Note: This activity is only available when the workflow runs on a table that extends Task.

Rollback To determines which activities to reset based on the actual workflow sequence (transition line attachments) of activities between itself and the transitioned to activity, not the execution order. Rollback To then marks all the approvals that have transitioned between the rollback and the transitioned to activity as Not Yet Requested and the tasks as either Open or Pending.

Use the Rollback To activity for all workflows in which multiple rollbacks are required. Rollback To has no variables.

For more detials go to 

https://docs.servicenow.com/bundle/orlando-servicenow-platform/page/administer/workflow-activities/reference/r_RollbackTo.html

Please Mark it helpful/correct if my answer helps in any way to resolve your query.
Reach out to me if any more help required.

Regards

Yash.K.Agrawal

 

Sajilal
Mega Sage

I am not sure a Rollback functionality exists in Flow Designer, you could go to a next step to perform some flow actions but not a Rollback.

https://community.servicenow.com/community?id=community_question&sys_id=db268eaedbc29bc02e247a9e0f9619c9

Hope this helps!

Please Mark as ✅ Correct if this solves your issue and also mark ???? Helpful if it helps resolve your problem.

Thanks,
Saji

Loudigi
Kilo Sage

At this point that functionality isn't available in Flow Designer, but look here: https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0820128