Sdílet prostřednictvím


Exporting and Importing SharePoint Designer 2010 List Workflow

Exporting and importing of the List Workflow to and from another list or site is actually a non-supported feature.

However, there is a "workaround" to achieve this.

 

  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!

Comments

  • Anonymous
    January 01, 2003
    Hi I have done the complete process but then when i unzipped and then tried to import it say "The file couldn't be found or the .vwi is not file". Kindly reply me back.

  • Anonymous
    January 01, 2003
    thanks for you article

  • Anonymous
    January 01, 2003
    same i fallow for dev to production,but last i got message during importing visio file as "The file could not a valid.vwi file"

    Please provide solution.

  • Anonymous
    December 19, 2012
    Well done! Works fine for me, thanks.

  • Anonymous
    June 12, 2013
    Hi Thanks for Nice post. Is it possible to import the SPD workflows in cross domain?, means we have two different web applications and would like to import the SPD workflow in other web app. If Yes, could you please share your view. Thanks in Advance

  • Anonymous
    August 08, 2013
    The comment has been removed

  • Anonymous
    August 08, 2013
    The comment has been removed

  • Anonymous
    September 05, 2013
    i have created two list in sharepoint 2010.portal defect tracker and portal development list.portal defect tracker consists of a coloumn "Issue status" when it is changed to "Enhancement" the entire list is moved to Portal development list.i have done this with event receiver.now i want to do the same problem using sharepoint designer 2010.i dont have any idea regarding sharepoint designer 2010.i'd be grateful if u explain it elaborately.... thanks in advance..

  • Anonymous
    September 20, 2013
    Does the empty xoml.rules file need to be replaced with the completed .rules file?

  • Anonymous
    February 20, 2014
    This is a collection of the top Microsoft Support solutions to the most common issues experienced using

  • Anonymous
    March 25, 2014
    I got the same error as Anonymous, any input?

  • Anonymous
    March 26, 2014
    You have to recreate the initiaton workflow variables. They don't transfer over.

  • Anonymous
    April 21, 2014
    Or take HarePoint Content and Workflow Migrator to do it with drag'n'drop ;) http://www.harepoint.com/Products/HarePoint-Content-Workflow-Migrator/Default.aspx

  • Anonymous
    April 24, 2014
    You have to use Winzip and not another compressor software(like winrar or ARC, etc..). Only works with Winzip, because of the attributes other programs attribute to files dropped in the zip file.

  • Anonymous
    May 22, 2014
    Hey that's helpful. I have just signed up for a free SharePoint site with cloudappsportal.

  • Anonymous
    June 06, 2014
    hola como puedo exportar el tipo de contenido para el flujo

  • Anonymous
    July 08, 2014
    The comment has been removed

  • Anonymous
    October 07, 2014
    even with winzip not able to convert back i.e., to .vwi format

  • Anonymous
    October 21, 2014
    Nice Post.Thank you.It solved the issue and great help to all

  • Anonymous
    October 21, 2014
    Fantastic !

  • Anonymous
    October 27, 2014
    http://www.juhuescortservice.com/
    http://www.ishikagupta.in/
    http://www.monarathod.in/
    http://www.pinkyagarwal.in/
    http://www.sushmitakapoor.in/
    http://www.rimpyarora.in/

  • Anonymous
    November 04, 2014
    This honestly made me laugh, the creativity it takes to master sharepoint is silly!

  • Anonymous
    November 17, 2014
    i'm not able to find the cancel option in workflow information unlike the original data.

  • Anonymous
    November 17, 2014
    the .zip file cannot convert back to .vwi

  • Anonymous
    February 08, 2015
    it's so nice of you to post this~! it's wonderful!!! Many thanks!

  • Anonymous
    March 15, 2015
    I get an error that says "This workflow cannot be imported because it was created in SharePoint Designer for a different site, or the original workflow has been moved or deleted. To move a workflow between sites, use Save as Template (.wsp file) instead of a viseo workflow drawing." And then it won't let me click Finish or Next, they are grayed out.

  • Anonymous
    March 25, 2015
    This worked the first time, but the next time when I copy the workflow.xoml.wfconfig.xml file from the empty to the completed workflow all of the contents of the completed workflow disappear and the file becomes corrupted. What's going on?

  • Anonymous
    April 28, 2015
    Top Microsoft Support solutions for the most common issues experienced when using Microsoft SharePoint

  • Anonymous
    May 05, 2015
    Its useful...

    IMP step-

    'Copy the file out to the desktop and then copy the file into the other zipped folder without extracting zip' .

    Reset IIS if receives error "Unable to load workflow actions from the server"

  • Anonymous
    July 09, 2015
    i created a sharepoint, basically user can submit project and view it in the list. But, at the same time i want the user see only his submission project on the the other list called my projects. How am i gonna do it?please help me, because i dont really have basic in this, cause im an engineer background.:)

  • Anonymous
    July 14, 2015
    awesome article, is it possible using Browser?

  • Anonymous
    August 06, 2015
    This has saved me a lot of work recreating my workflow after creating it on a test site. Thanks!

  • Anonymous
    August 15, 2015
    Do you need Visio Premium installed or will just the standard Visio work?

  • Anonymous
    September 03, 2015
    This is fantastic! Saves a lot of time. Has anyone come up with a way to also copy over the initiation form parameters and task form?

  • Anonymous
    September 03, 2015
    Katie: Visio Standard will work.

  • Anonymous
    September 24, 2015
    I can not remove .zip from Compleate.vwi.zip. Anybody help please? Thank a lot

  • Anonymous
    November 30, 2015
    Thanks it worked

  • Anonymous
    December 18, 2015
    ridiculous

  • Anonymous
    March 21, 2016
    Very good solution and works. I copied it directly thru file manager and OK.