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.
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.
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.
In my workflow there is a rules file and specifies the public key. Should this be copied?