Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Good Way to Compare Published Workflows in Different Environments

jmiskey
Kilo Sage

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

9 REPLIES 9

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.

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?  

That is one way that would work.  I'm still confused why they are out of sync.

Thanks.

I think we were testing some things that were never pushed to Prod a while back.

Well sounds like you have a way to rollback the workflow.  Good luck!