How to capture any workflow in an update set?

Subhadip Roy
Kilo Contributor

How can we capture any workflow in an update set? Or is there any other way to move the workflow from sub-prod environment to prod environment?

Please let me know. Thank you.

1 ACCEPTED SOLUTION

mazhar4
Giga Expert

You can create an updateSet, checkout the workflow, do changes, check back in.

The workflow changes should be captured in this updateSet.

Migrate this updateSet to prod.

 

Please mark correct or helpful if this helped resolve your issue

Mazhar

View solution in original post

5 REPLIES 5

mazhar4
Giga Expert

You can create an updateSet, checkout the workflow, do changes, check back in.

The workflow changes should be captured in this updateSet.

Migrate this updateSet to prod.

 

Please mark correct or helpful if this helped resolve your issue

Mazhar

Rameshwar Khile
Mega Expert

Hi @Subhadip Roy 

 Refer following steps and Doc

  1. User A selects Update Set A.
  2. User A creates a new workflow called Workflow A.
  3. User A publishes Workflow A.

    A customer update set record is added to Update Set A containing an XML payload, including the published Workflow A and all activity dependencies. The XML payload also contains the workflow input variables associated with the workflow.

  4. User A completes Update Set A and migrates it to the production instance.
  5. Update Set A commits successfully.

Workflow A works as expected.

 

https://docs.servicenow.com/bundle/quebec-servicenow-platform/page/administer/workflow-administratio...

 

Please mark correct or helpful if this helped resolve your issue

Rameshwar 

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

By default workflows get captured in an update set and this should happen OOB.

Is that not happening OOB?

Regards
Ankur

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

I have a similar problem, I need to archive and move the update set from 1 image to another. The Update set has the modified Workflow in it but when I close the update set and export as XML, the resulting XML is pretty much empty.
I had done this before a clone down and upgrade and when I Imported the update set, none of my work was pulled in. I then looked at the XML and it only had about 20 lines of data.
So, I redid all of the work to the Workflow, published it, Checked that the work was in the update set, Closed the update set and exported it as XML. This new XML was also almost empty.
I'm using Chrome for my Browser.