I created list workflow using SharePoint Designer. How to deploy my list workflow in Production environment?
2 Answers
You can try workflow import/export feature to deploy your workflow to your production environment.
Check the following link to import/export your designer workflow:
Use a migration tool like: DocAve, Metalogix, Quest, etc.
If you can't use a tool, then you have to do a manually:
Create a new workflow on the Production site with the same name. Be sure to add a fake condition and one fake activity. This will generate the standard workflow files.
Copy the XOML and RULES files from your workflow in Dev (open the folder in SPD2010 and copy these specific files).
Paste those files into the workflow folder you created in step 1.
Open the workflow again in Prod, and click through all the steps to reassociate each data point (simply click on the item, and it will re-associate).
If you have any lookups like "Update List Item," then you'll need to manually edit the XOML file in SPD or Notepad so that you can find/replace the GUID of the associated list. Of course, that list must already exist on the Prod site, too.
When done, click Finish to publish the workflow with the copied settings, and it should now work.
Second is: Using Save List As template option create List template then after upload this List template to Production Environment.
-
I am not having any migration tools. I tried copying workflow files from my dev site to prod site. Files are copied but it does not reflect when i open the workflow in prod site.– SurenCommented Apr 16, 2013 at 11:34
-
-
Yes i verified GUID also. But i can see only the initial test conditions and actions which i gave before copying. Do i need to modify anything else?– SurenCommented Apr 16, 2013 at 13:35
-
Once you paste XOML and RULES files then save workflow don't publish. Commented Apr 17, 2013 at 5:11
-
Yes I saved the workflow files. When i opened the workflow after saving i can't see the updated workflow.– SurenCommented Apr 17, 2013 at 5:42