Tuesday, November 30, 2010 9:40 AM
How to Copy/backup List workflow from development site to production site
I have two sites. One is live site and other is development site.
Sometimes I need to change the workflow. I do the changes in development site and test it.
Again all the changes are done on the live site. To avoid this rework, I copied workflow folder from SPD and paste it in the live site.
When I open this live site workflow in SPD, I observed following problems.
- All the list names get replaced with GUIDs.
- In workflow settings, associated list name is missing. Associated task name, workflow history list name is missing. So I replaced all the list IDs in xml file with the new GUIDs
- All the task actions in workflow are giving problems. So I deleted all the task actions from workflow and recreated them.
But all this procedure is not just a perfect solution. And when the workflow is bigger one, then it’s a real big problem to replace the things and test it.
Can anyone please give me standard & proper solution to copy a SPD workflow from development site to production site?
Furthermore, I face the same problem when I imported a sub site using Power Shell commands.
Tuesday, December 07, 2010 6:11 AM
If you created a reusable workflow, this migration process might be easier.
For a common site workflow or a list workflow, I’m afraid you have to copy/paste the workflow files from dev to production, then modify Workflow with SPD in and make sure the GUIDs are correct.
Another idea is migrating the SPD workflow to Visual Studio workflow by saving XOML locally for reusing.
Please refer the following articles:
Hope this can help.
- Marked As Answer by Wayne Fan Friday, December 10, 2010 1:39 AM