How to revert flow to the previous version ServiceNow Flow Designer

Amey Kapse
Tera Contributor

Hello community,

I’m currently working with Flow Designer and ran into a situation where I made some changes to a flow that I now need to roll back. I’d like to revert the flow to a previous version that was working as expected.
Is there a recommended way to do this within ServiceNow? Any tips or best practices for restoring an earlier version of a flow would be greatly appreciated.
Thanks in advance for your guidance!

4 REPLIES 4

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Amey Kapse 

https://www.servicenow.com/community/developer-articles/servicenow-flow-designer-tutorial-to-revert-...

https://www.servicenow.com/community/developer-forum/flow-designer-ability-to-revert-to-previous-ver...

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

Ankur Bawiskar
Tera Patron
Tera Patron

@Amey Kapse 

this article explains it

ServiceNow Learning 74: Revert the Flow Designer to its previous version in ServiceNow 

sharing the steps here as well

1- Navigate to sys_update_version.list

2- Search with flow/subflow sys_id.

3- Click on the previous version.

4- Click on Form context menu UI action "revert to current' version.

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Bhimashankar H
Mega Sage

Hi @Amey Kapse ,

 

For this it is supported way to restore an earlier Flow/Subflow version by using the platform’s version records and the “Revert to this version” action on sys_update_version entries.

 

Filter out your name and open its previous version from related link click on "Revert to this version", ensure that you are in same application scope.

 

Refer this developer article

Revert to previous version  &

How to Revert Flow/SubFlow - You Tube - ServiceNow 

 

Thanks,
Bhimashankar H

 

-------------------------------------------------------------------------------------------------
If my response points you in the right directions, please consider marking it as 'Helpful' & 'Correct'. Thanks!

 

Bhuvan
Tera Sage

@Amey Kapse 

 

If you have made changes to flow and would like to rollback, for example I added new action 'Log info' for testing

Bhuvan_0-1756999454448.png

Go to History and click on version you would like to revert to, preview the flow and click on Restore

Bhuvan_1-1756999687424.png

After restore, make sure to activate the flow as by default after every changes you need to activate the flow.

 

If this helped to answer your query, please mark it helpful & accept the solution. 

 

Thanks,

Bhuvan