How to Find and Edit SPD 2010 Workflow XOML Files

I was researching an easy way to remove a bunch of workflow variables without having to spend my afternoon in a full blown SPD click torture session.  My thought was to edit the XOML directly, which is the XML file underlying SPD’s declarative workflows.  This is how I found it.

First, go to the All Files option under Site Objects in Navigation.  You need appropriate permissions to see this, so if it’s missing for you, appeal to the right admin person to grant you the priv.  This is what it looks like:

image

 

All Files shows a list of … all the files:

image

Select the Workflows folder and you see a list of folders for each workflow:

image

Click into the correct folder and  you see a listing of all the interesting goodies that make up an SPD declarative workflow.  Right click on the .xoml file and select “Open With –> SharePoint Designer (Open as XML)” to edit the XOML directly:

image

You may want to do a manual backup before you fiddle with things.  A regular copy/paste of the file directly in SPD is probably good enough, or you can copy paste the entire XML text and save it onto your desktop or whatever is your wont in these cases.

</end>

Subscribe to my blog.

Follow me on Twitter at http://www.twitter.com/pagalvin

One thought on “How to Find and Edit SPD 2010 Workflow XOML Files

  1. Pingback: Tweets that mention How to Find and Edit SPD 2010 Workflow XOML Files « Paul Galvin's SharePoint Space -- Topsy.com

Leave a Reply

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