copy workflow of the production to dev instance

Erick Brox87
Kilo Contributor

Hi everyone Is there a method to go from production to dev workflows? other than clone production to dev

3 REPLIES 3

Edward Rosario
Mega Sage
Mega Sage

Hey Erick,

I'm not sure if this will help, but take a look at  this post and see if it helps.  I used for kind of a similar situation.

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

Kunal Varkhede
Tera Guru

Hi Erick Brox87,

 

Yes it is possible to move workflow from Production to Development environment using Update set.

First you create one update set in Prod environment that will capture workflow by doing some changes in it and commit that update set in prod, click on Export to XML UI action link in Related links and use this update set in Dev environment by Retreive update set and Preview that update set, Commit it.  .

Go through below update set doc.

Update Set.

 

I hope it will help you.

 

Please Mark Correct/Helpful answer if it help you in any way.

Thanks and Regards,

Kunal.

Tanaji Patil
Tera Guru

I don't like the idea of creating an update set on production and importing it on non-prod.

Information from multiple tables related to a workflow is captured in a single entry in update set.
I would rather find latest entry of this workflow in Customer Update [sys_update_xml] table on production. Once you get this entry copy the payload of it and save it as xml on you local machine. Import this xml to your dev instance and you should have the whole workflow.

Check this page to know more on why whole worklow is captured in a single xml-
https://docs.servicenow.com/bundle/orlando-application-development/page/build/system-update-sets/ref...

Regards,
Tanaji
Please mark reply correct/helpful if applicable