Good Way to Compare Published Workflows in Different Environments
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2018 12:22 PM
Is there a good way to compare the published workflows in different environments to identify the differences?
I have a published workflow in one of my sub-environments that is newer than the one in our Prod environment. I would like to know what the differences are.
Hoping there is a semi-easy way to do this and see the differences.
Thanks
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2018 01:07 PM
So unless someone has made changes to the workflow (should be easily found via sys_update_xml_list.do).
However if changes were made, you could export the production version w/ SNCGURU's solution here.
https://www.servicenowguru.com/graphical-workflow/exporting-graphical-workflows/
It also mentions there's a UI action called "Export Workflow" with a role of maint, that you can remove the role and export with sn's native functionality.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2018 07:27 AM
If I wanted to make sure the Sub-environment is using the same version as Prod, shouldn't I just be able to delete the Published Version from the Sub-environment, go to Workflow Versions in Prod, open up the Published version, click on the "Export Workflow" button there, and then import that XML file into the Sub-environment?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2018 09:06 AM
That is one way that would work. I'm still confused why they are out of sync.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2018 09:30 AM
Thanks.
I think we were testing some things that were never pushed to Prod a while back.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2018 07:42 AM
Well sounds like you have a way to rollback the workflow. Good luck!