Export SharePoint designer List workflow from one site to another site

exporting and importing sharepoint designer 2010 list workflow

This SharePoint 2010 workflow tutorial explains, how can we export SharePoint designer list workflow from one site to another in SharePoint 2010. We 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.


New to Office 365 SharePoint Online? Get Office 365 Enterprise E3 Subscription & Try out all the features

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.

Step-1:
First we will export all files from the first site.

Open you site in SharePoint designer -> All Files -> Workflows -> Open your workflow.

Then select all files and click on Export as shown in the fig below:

export sharepoint designer 2010 workflow to another site
export sharepoint designer 2010 workflow to another site

Step-2:
1. Open Second Site in SharePoint Designer 2010

2. Then go to All Files -> Workflows. Here Create same workflow folder of the site first name.

3. Then create a Blank workflow inside the folder and then copy List ID, TaskListID and HistoryListID.

4. Open xoml.wfconfig.xml in Notepad, Then find the Association tag and very carefully change the GUIDs so that your migrated List IDs are the same as the “Site 2 List” workflow List IDs. Check fig below:

exporting and importing sharepoint designer 2010 list workflow
exporting and importing sharepoint designer 2010 list workflow

5. Save the file.

6. Close SharePoint Designer.

7. Open SharePoint Designer 2010 again and open your site.

8. Instead of All Files, this time click on Workflows.


9. Select your workflow, then Save and Publish the workflow.

You may like following SharePoint designer workflow tutorials:

Hope this article will be helpful to export SharePoint designer List workflow from one site to another site.

Check out Best Alternative to InfoPath -> Try Now

FREE SHAREPOINT 2019 PDF

(Installation & Features)



About Sagar Pardeshi

I am Developer working on Microsoft Technologies for the past 6+years. I am very much passionate about programming and my core skills are SharePoint, ASP.NET & C#,Jquery,Javascript,REST. I am running this blog to share my experience & learning with the community I am an MCP, MCTS .NET & Sharepoint 2010, MCPD Sharepoint 2010, and MCSD HTML 5,Sharepoint 2013 Core Solutions. I am currently working on Sharepoint 2010, MOSS 2007, Sharepoint 2013,Sharepoint 2013 App Dev, C#, ASP.NET, and SQL Server 2008.

View all posts by Sagar Pardeshi →