Top
SharePoint Designer Splash Screen

Exporting and Importing SharePoint Designer 2013 List Workflow


Although story of SharePoint Designer 2013 is slowly reaching its end and it is known for sure that shortly after 2020 will be deprecated, still there are many clients using it and developing their solutions with its help.

I recently found myself in a situation, where I needed somehow to create three instances of the same workflow (with small differences) for the same, SharePoint list. I started googling, but nothing helpful arrived. Then I tried to just export the workflow to Visio, rename it, and import again. Using that approach however only changed the name of the original workflow, not really created a new one.

How it was done in SharePoint Designer 2010?

Then, having hints how it was done in SharePoint 2010 (source):

  1. In SharePoint Designer 2010, click on your completed List Workflow.
  2. Click on “Save” and “Publish” for the completed List Workflow.
  3. Next, click on “Export to Visio”. Save the file as CompletedWorkflow.vwi or any preferred name.
  4. Then create a new “similar” list on the current site or on a new site collection. There is no way to import the exported visio into this new list.
  5. In SharePoint Designer 2010, click on this new list and then click on “List Workflow” to create a new workflow for this new list.
  6. Please make sure that you do not add any workflow steps!
  7. Click on “Save” and “Publish” for this empty List Workflow.
  8. Then, click on “Export to Visio” and save this as EmptyWorkflow.vwi or any preferred name.
  9. Rename both the vwi files by adding “.zip” extension. The files should be CompletedWorkflow.vwi.zip and EmptyWorkflow.vwi.zip.
  10. The objective is to replace the “workflow.xoml.wfconfig.xml” file from the EmptyWorkflow.vwi.zip into the CompletedWorkflow.vwi.zip.
  11. It is likely that you cannot replace it directly. Copy the file out to the desktop and then copy the file into the other zipped folder.
  12. Remove the “.zip” extension from the CompletedWorkflow.vwi.
  13. With this, we have a working importable visio List Workflow.
  14. Back in the SharePoint Designer 2010, close all the workflow tabs.
  15. Click on the “Import from Visio” and select the CompletedWorkflow.vwi.
  16. You have successfully export and import the List Workflow.

I thought I should do the same: I opened the exported Visio as an archive, copied definitions from an target workflow into a blank one, saved it, but… it turned out, that the file is corrupted and cannot be opened by Visio as well as imported back by SPD (possibly this is feasible, but I didn’t have too much time for investigations).

How should be done in SharePoint Designer 2013?

The solution was far more easier. All you have to do is…

  1. Export the existing workflow into a Visio file.
  2. Open the exported file in Visio.
  3. Copy its contents.
  4. Create a new Visio file and paste contents.
  5. Save the pasted workflow as a new file, under a new name.
  6. Import it back using SharePoint Designer.

That’s it!


Tomasz Poszytek

Hi, I am Tomasz. I am expert in the field of process automation and business solutions' building using Power Platform. I am Microsoft MVP and Nintex vTE.

2 Comments
  • Jeroen

    The import worked, but when I try to view the workflow in the textual view, SharePoint designer freezes.

    April 9, 2018 at 9:32 am Reply
    • Tomasz Poszytek

      I don’t think this is related to the import itself. If there is anything wrong with a file, then SPD should rise an error. I personally have done it this way many times and never faced such an issue.

      April 9, 2018 at 9:52 am Reply

Post a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.