共用方式為


Migrate SharePoint designer workflow from SharePoint 2007 to SharePoint 2013

 

There has been instances when you plan to upgrade SharePoint 2007 to SharePoint 2013 which has custom workflows which are designed by SharePoint Designer.

 

If we follow the straight upgrade process like upgrade the database from 2007 to 2010 and then upgrade to 2013 you will not be able to edit the workflow nor update them.

Here is the process which need to be followed to make sure we can continue using those workflow in 2013 and can update and edit them without issues.

 

1. Take the back of the content DB from the SQL server.

2. Restore the backup on SQL server for the SharePoint 2010 farm.

3. Create a new claims based web application.

4. Attach the content database to this web application – mount-spcontentdatabase

and make sure we follow the process to migrate the users from classic to claims, reference -https://technet.microsoft.com/en-us/library/gg251985.aspx

 

5. open the site in SharePoint Designer and edit the workflow and republish it.

we have to do this because sharepoint designer 2007 workflow are aspx based and 2010 will be form based and hence the upgrade needed.

6. Now take a backup of the database and restore it on 2013 SQL server farm.

7. Attach the database to SP2013 web application using the command mount-spcontentdatabase.

8. Open the site in designer and we should be able to edit and update the workflow.

Comments

  • Anonymous
    January 01, 2003
    thank you for sharing this information.  

  • Anonymous
    June 18, 2013
    Very useful information and fix for a future implementation our organisation are doing from SharePoint 2007 to SharePoint 2013.

  • Anonymous
    April 08, 2014
    Thanks for the post.
    But what if u have many Sitecollections with several Workflows in many Subsites.
    Is there a Script based solution for step 5? Run an Powershell Script instead of open the SharePoint Designer.
    This script retrive all existing SPD Workflows in the Content Databse and republish each via api or ws calls.
    Anybody has such a script?