Team blog of MCS @ Middle East and Africa

This blog is created by Microsoft MEA HQ near shoring team, and it aims to share knowledge with the IT community.With its infrastructure and development sides,It brings to you the proven best practices and real world experiences from Subject Matter Experts
Follow Us On Twitter! Subscribe To Our Blog! Contact Us

Solved: Moving SharePoint 2010 Designer Workflows between Sites

Solved: Moving SharePoint 2010 Designer Workflows between Sites

  • Comments 8
  • Likes

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:

  1. Export the workflow to Visio.
  2. Edit the VWI archive and delete the configuration file.
  3. Import the workflow back to your destination site.

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.

image

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”

image

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.

Comments
  • 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.

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment