http://msdn.microsoft.com/en-us/library/ee231580.aspx
This walkthrough demonstrates how to import a reusable workflow created in SharePoint Designer 2010 into a Visual Studio SharePoint workflow project.
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.
Comments
Post a Comment