Special thanks to Vadim Tabakman (working in Nintex) who gave this idea to develop this reusable tool.
As you know Nintex workflows are easy to build and customize. But, sometimes we have to deploy a common/reusable nintex workflow to more than one lists or document libraries in a site collection. In this case, when we got a requirement to change something in workflow then we will be in trouble like how to publish the new changed workflow to all libraries.
Imagine we have 100 sub sites with 8 lists / document libraries. It means we have to publish the nintex workflow to 100 * 8 = 800 lists and libraries. Which is not at all possible with the manual upload process? So, the only way would be writing code to publish them automatically by running it.
The solution which I have written needs the updated nintex workflow file [.NWF] as input, web url and site url. It loops through all sites in the site collection and updates the each and every library/lists with the updated nintex file successfully.
Code Sample
Subscribe
Get the latest and greatest from me delivered straight to your inbox.