Import a SharePoint Designer Reusable Workflow into Visual Studio


Import a SharePoint Designer Reusable Workflow into Visual Studio

This walkthrough demonstrates how to import a reusable workflow created in SharePoint Designer 2010 into a Visual Studio SharePoint workflow project.
Workflows created in SharePoint Designer, or declarative workflows, consist of XML statements instead of code. SharePoint Designer 2010 introduces reusable workflows, which are portable, declarative workflows that can be used by different lists in SharePoint sites.
Workflows created in Visual Studio 2010, such as sequential and state machine workflows, are called code workflows. Code workflows consist of XML files and code modules in which users can customize the workflow’s behavior.
Visual Studio 2010 allows you to import reusable workflows created in SharePoint Designer 2010 and convert them to code workflows for use in your SharePoint sites.
This walkthrough demonstrates the following tasks:
  • Creating a simple, reusable workflow in SharePoint Designer.
  • Exporting the SharePoint Designer reusable workflow to a .wsp file and into SharePoint.
  • Importing the .wsp file into Visual Studio by using the Import Reusable Workflow project.
  • Altering the workflow by adding code.
  • Using the imported workflow in a SharePoint site.
Advertisements

About sharepointsriram

9+ Yrs of IT experience
This entry was posted in Sharepoint 2010 Fast Search. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s