0

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.

Aziz Shaikh
  • 16,245
  • 11
  • 62
  • 79
Tilak
  • 30,108
  • 19
  • 83
  • 131

1 Answers1

1

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

ronalchn
  • 12,225
  • 10
  • 51
  • 61
  • I understand the steps. Question is can workflow be deployed as feature (not as WSP)? – Tilak Sep 18 '12 at 07:53
  • Feature can not be deployed directly to SharePoint. You create feature and then bundle it in a wsp to deploy to the SharePoint environment. One the WSP is activated, it installs the feature and then you can activate it. Please let me know if I am missing anything... – Hemant Joshi Oct 22 '12 at 05:08
  • Thanks for clarification. I have done exactly the way you have described, and it has worked as expected. – Tilak Oct 22 '12 at 05:36