sharepointsharepoint-2010sharepoint-designersharepoint-deployment

Can we deploy sharepoint workflow (made in sharepoint designer) as feature


I am newbie to Sharepoint.

I want to create workflow as template using Sharepoint designer and deploy it as feature.

Following link Workflow Deployment Using Features suggests, this can be achieved in visual studio.

I have following questions
1. Can sharepoint foundation has workflow as template
2. Can we deploy workflow made in designer as feature

If answer to both these is yes, please share some links to get started for these.


Solution

  • You can use Reusable workflow for this. Assuming you are on SharePoint 2010,

    1. Create a new reusable workflow.
    2. Save it and publish it and test that it works fine
    3. In the ribbon, use Save as Template option to save it.

    It will get saved in Site Assets Library as wsp form where you can download it and upload to other sites as wsp and activate the feature to use it there.

    More information can be found here: http://msdn.microsoft.com/en-us/library/ee231580.aspx