Reassign a SPD Workflow to Another List

One of the main drawbacks of SharePoint Designer-based workflows is that you cannot reuse an existing workflow in another list.

Recently, I accidentaly broke the list functionality editing the forms in SharePoint Designer. I had no way back except deleting and recreating the list. However, my pretty big SPD workflow would be lost…..

 wkfReassign2

Well, not exactly. I took careful notice of the existing list GUID and the new list GUID. Then, I opened the XOML workflow file in text mode (see below). I then replaced all the ocurrences of the old list GUID with the new list GUID. I did the same for the wfconfig.xml file.

 wkfReassign1

And, it worked! My old workflow works flawlessly assigned to the new list.

Of course, the fields that your workflow uses must keep the same name in the new list.

Leave a Reply

Your email address will not be published. Required fields are marked *

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