In man occasions you would be faced by the need to move workflows you developed using SharePoint designer from one site to another. This might be the case if for example you developed and tested the workflow on a testing environment and now wants to move to the production environment without the need to re-develop the workflow.
The steps to perform this is rather simple:
So open the SharePoint designer and open the source site. click on the workflows link on the left and then the workflow you want to move. Click on the ribbon on export to Visio button.
Now rename the file exported (VWI file) to be a ZIP file and open it with Windows Explorer. You will find a file named “workflow.xoml.wfconfig.xml”
Just delete this file. Now rename the archive back to be a VWI file.
Now open the destination site and click the import from Visio and browse to the edited VWI file. This will allow you to re-associate your workflow as if it was created or exported from Visio rather than the designer while preserving any development made in the workflow it self.
Doesn't the export to visio only work if you have the Professional / Enterprise version of the product. Unless you have this, you won't be able to make any changes.
Works(ed) just fine for me with out Visio.
Your not actually making changes to the file, your turning the file into a zip, then opening it to delete a single entry.
Just try this product: www.harepoint.com/.../Default.aspx
Key product features:
•Copy or move SharePoint workflows between any SharePoint sites.
The workflows may be migrated inside a single farm or between different farms and environments; between on-premise and online SharePoint sites; and even between different SharePoint versions (2010 or 2013).
•Migrate SharePoint workflows between different SharePoint versions.
The product lets you to move workflows between Microsoft SharePoint 2010 and Microsoft SharePoint 2013.
•Multiple workflows migration
Multiple workflows can be easily migrated simultaneously in a few clicks with a convenient wizard.
•Advanced Workflow Migration Wizard
Collects and specifies all required data for successful migration and process it in a few clicks.
FYI.. By doing this you are clearing the workflow's Initation Form parameters. Not good.
I've tried copying/pasting the Initiation portion of the config.xml to the new one that's created after you re-associate but have not received the expected results.
Just a heads up. Could potentially be lots more work.
Yes you are correct, but you cant get everything in life :)
Worked for me .Thank you !
I did exactly what he said..! in this post. It worked perfect..!
Thanks, it worked for me.
It worked for me ..!! Great Solution.
Awesomness, Thank you
worked great. thx!