Friday, 02 October 2009 06:03

Q#13: How to package and move SPD WorkFlow

Written by 
Rate this item
(0 votes)

Question:

>> How can I deploy SPD Workflow from Dev to prod

Answer:

Unfortunatelly, SharePoint designer workflows are not portable by default. There are several OOB activities that come with SharePoint itself that are used by SharePoint Designer Workflow. These activities when serialized to XOML (the temporary file is generated by SPD when you create new WorkFlow), store GUIDS to lists itself instead of ‘pointers’ to list, or any other indirection or that matter. And here is the problem -  List IDs are generated each time a list is instantiated the XOML workflows aren’t reusable, since they will most likely point to non existing lists.

The detailed process of what happens in backgroup when you start new WorkFlow via SPD is described in that post.

The solution is to use Visual Studio WorkFlow, because they don't have such an issue. Or, if you still need to move the SPD WorkFlows you can do the following trick described in this post

Read 2306 times Last modified on Tuesday, 21 August 2012 12:15

Leave a comment

Make sure you enter the (*) required information where indicated. HTML code is not allowed.