BizTalk & Development Thoughts

This is a blog about my experience with development specially for BizTalk ...

Solved: Moving SharePoint 2010 Designer Workflows between Sites

Solved: Moving SharePoint 2010 Designer Workflows between Sites

Rate This
  • Comments 8

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.

  • clever move. thanks for the tip

  • You made some decent points there. I looked on the internet for the issue and found most individuals will go along with with your website.

    www.scribd.com/.../SharePoint-Developers

  • What about if Feedback processes were created in the workflows? It looks like the xml code to generate the feedback form is resident in the "workflow.xoml.wfconfig.xml" file that gets deleted. In the new site, the workflows appear to import properly, but I get an error viewing the task since the Feedback form does not exist. If I view the new "workflow.xoml.wfconfig.xml" file, I can see a line that shows RequiresGeneration=true for the Feedback form, but it doesn't get regenerated. Just wondering if you had come across this problem.

    Thanks.

    anthony.soprano.ctr@us.af.mil

  • Great stuff!!!

    Thanks

  • In my workflow there is a rules file and specifies the public key.  Should this be copied?

  • Great article.. thanks

  • Nice artice, I think you should practice drawing circles though

  • Brilliant, worked like a charm. Thanks very much.

Page 1 of 1 (8 items)
Leave a Comment
  • Please add 2 and 6 and type the answer here:
  • Post