Respondido How to copy list workflow(SPD) from development site to production site

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

All Replies