Move flow from Prod to dev

SM16
Tera Expert

One of my colleague has made some changes in the flow and we want to move it back to its oginial state as that of prod system (Move flow from Prod to dev)

Is it possible to export and import the flow from Prod to dev?

Any version history maintained for flows to move back to that version like we have for other Servicenow objects (BRs, CSs etc)

2 REPLIES 2

Anand Kumar P
Giga Patron
Giga Patron

Hi @SM16 ,

Flows are stored in the sys_hub_flow table. You can view them by going to instance.service-now.com/sys_hub_flow_list.do?.

 

The flow has a number of different records on different tables that makes moving it outside of an update set or app scope difficult. If you've created it outside of an update set you do have a couple of options for getting it into an update set:

  1. Open a new update set and use the copy flow functionality to create an identical flow that will get captured by the udpate set.
  2. Use the Add to Update Set share utility to add the flow to an update set. (I'm pretty sure it has the capability, but I haven't used it in a while and it's not in the notes on the share site)

If my response helped, please mark it as the accepted solution and give a thumbs up👍.
Thanks,
Anand

Viraj Hudlikar
Giga Sage

Hello @SM16 

Versions are maintained under "sys_update_version" table. You can copy the sys_id of flow and search over the table and open the record and in that click on related link "Revert to this version."

You can refer this blog  - How to revert a Flow / Sub Flow to a previous vers... - ServiceNow Community

If my response has helped you hit helpful button and if your concern is solved do mark my response as correct.

Thanks & Regards
Viraj Hudlikar.