cancel
Showing results for 
Search instead for 
Did you mean: 
Workflow Hero

How to compare two workflows?

Jump to solution

Is there anyway to compare two workflows side by side? I tried exporting the nwp file, but that doesn't open in notepad++ (well it does, but not in a way which it can be compared)

I have two workflows which are supposed to be identical, however one is producing a very slight different result. The workflows are quite large, and the only way of doing this is literally opening every single step from both workflows one at a time. 

Any suggestions appreciated! 

Labels: (1)
Tags (1)
0 Kudos
Reply
5 Replies
Workflow Hero

Re: How to compare two workflows?

Jump to solution

Sorry, not. If you want to compare them "by content" and just to receive "true" or "false" maybe you can generate control sum for both exported files. If the value is identical for both, then I assume they are equal.

What do you mean by "slightly different results"? Isn't it related to the input they receive?

Regards,

Tomasz

Regards, Tomasz Poszytek
0 Kudos
Reply
Workflow Hero

Re: How to compare two workflows?

Jump to solution

Well the fact that we get different results must mean something is different with the workflow config, so I just want to find out where the difference is (the one in 'test' is working ok, but the one in 'prod' is not. I don't want to overwrite prod until I know there is nothing else missing from the workflow). 

Sounds like there is no way to do this - when I use the nwp files in notepad++ it looks like there are differences everywhere which I presume are down to site/library naming conventions, so no easy way to compare.

I was hoping there would be some sort of XML output or similar (request for a future release?! :-) )

0 Kudos
Reply
Workflow Hero

Re: How to compare two workflows?

Jump to solution

Well there is If you change the extension of your exported workflow from NWP to ZIP you will get an archive full of XML files:

The names of the files are quite obvious, regarding their contents, so feel free to compare them ex. in Visual Studio.

Regards,

Tomasz

Regards, Tomasz Poszytek
Reply
Workflow Hero

Re: How to compare two workflows?

Jump to solution

Thank you - finding the actions.xml file and comparing it using Notepad++ helped me resolve my problem

Reply
Workflow Hero

Re: How to compare two workflows?

Jump to solution

Can't save the workflow as zip file

0 Kudos
Reply