locked
Copying/ Moving SharePoint Designer Workflow RRS feed

  • Question

  • Hi!
        I have a Sharepoint List with 2 custom SharePoint Designer workflows associated with it, now I want to create a Form Library with same columns/fields (basically it's a replacement for that List)... so can I copy or move those 2 workflows which were associated with that List to this new Form Library...
     
     Any ideas would be greatly appreciated....
    Tuesday, January 12, 2010 7:50 PM

Answers

All replies

  • You can do that. First backup the original workflow ( you might need it if you make a mistake ) to another folder.
    Next, manualy edit %WORKFLOWNAME%.xoml file with notepad and replace ListID with the ID of the new list ( or library, in your case ).
    Next, manualy edit %WORKFLOWNAME%.xoml.wfconfig.xml with notepad and replace ListID with the ID of the new list.

    check out and check in the workflow and it should work. it's been tested on lists, but should work on either lists or libraries.

    • Marked as answer by Lily Wu Thursday, January 21, 2010 9:31 AM
    Wednesday, January 13, 2010 11:17 AM
  • Hi,

    Paul Galvin has a tutorial which describes how to move a SharePoint Designer workflow from one list to another in the same environment or within the same site. Hope it can be helpful to you.
    http://www.endusersharepoint.com/2008/12/15/why-can%E2%80%99t-i-easily-port-sharepoint-designer-workflow-solutions-from-one-list-to-another-part-2/

    If you want to move SPD workflows from one farm to another, you can convert the SPD workflow into a Visual Studio workflow which can be more easily deployed to many different places.
    This reference will help you get started.
    http://blogs.msdn.com/sharepointdesigner/archive/2007/07/06/porting-sharepoint-designer-workflows-to-visual-studio.aspx


    Best Regards.


    Lily Wu
    • Marked as answer by Lily Wu Thursday, January 21, 2010 9:31 AM
    Thursday, January 14, 2010 6:15 AM
  • Please check my Blog - Yes Virginia You Can Easily Migrate SharePoint Designer Workflows, this will show you a quick and esy way to accomplish this task:

    http://sharepointgypsy.blogspot.com/2010/08/yes-virginia-there-is-easy-way-to.html

    I hope that helps!

    Tom

     


    Tom Molskow - SharePoint Architect - Linked-In - SharePoint Gypsy
    Tuesday, December 21, 2010 6:53 PM
  • I have read and understand the attempt to port a workflow in sharepoint 2007.

    although the steps in this thread result in a moved workflow to a new list, the conditions of the workflow in sharepoint designer do not copy.

    I tried a completely different method which created workflows as reusable parts in SharePoint Designer 2007 and MOSS 2007 with no coding.

    Try this:

    - Create your workflow and put multiple steps with if and or conditions and associate it with a list.

    - Save the workflow

    - Delete the list.

    Congratulations, you have just created an orphaned workflow.

    - copy the workflow files into a new workflow folder

    - open the workflow and associate it with another list.

    - Now edit the .xoml and xoml.wfconfig.xml files and replace the old list id with the new list id(*note: you can get a nice copy and paste guid of the list id in the List settings/audience area)

    I use this method to port workflows which are common. i.e. consider creating a workflow which stores the contents of the reserved column name 'Name' into a column that you can use in calculations of other columns. Without creating a complex feature to automatically insert the name of something into a column which you might have to hide later on from the user, you can use a workflow with a generic name such as newitemname and associate it with each list as you see fit.

    So making a reusable workflow is possible with the stock tools in SharePoint Designer 2007.

     

    Give it a try.

     

    Thursday, February 17, 2011 4:46 PM
  • This thread was closed a long time ago. (Two posts marked as answer and no "this didn't work" from the OP).

    Please do not revise old closed threads but concentrate your efforts on recent non-answered threads. (Ditto, Tom)

    Moderator


    SP 2010 "FAQ" (mainly useful links): http://wssv4faq.mindsharp.com/default.aspx
    WSS3/MOSS FAQ (FAQ and Links) http://wssv3faq.mindsharp.com/default.aspx
    Both also have links to extensive book lists and to (free) on-line chapters
    Thursday, February 17, 2011 5:41 PM