Import a SharePoint Designer reusable workflow into Visual Studio
Workflows created in SharePoint Designer (that is, declarative workflows) consist of XML statements, not code. SharePoint Designer 2010 introduces reusable workflows, which are portable, declarative workflows that can be used by different lists in a SharePoint site.
Workflows created in Visual Studio 2010, such as sequential workflows and state machine workflows, are called code workflows. Code workflows consist of XML files and code modules that allow users to customize the behavior of workflows in these files and modules.
With Visual Studio 2010, you can import reusable workflows created in SharePoint Designer 2010 and convert them to code workflows for use in SharePoint sites.
To create a destination SharePoint subweb
First create two new SharePoint subwebs: one to host reusable workflows from SharePoint Designer, and the other to host converted workflows.
1. In SharePoint Designer 2010, click Open Site on the File menu.
2. In the Open web dialog box, browse to the SharePoint site where you want to create the workflow, or use the default value to http://the system name/, and then click Open.
5. In the Specify your site location box, replace the term "subsite" in the URL with SPD1, and then click OK.
This will open a new subweb in SharePoint Designer. Close this SharePoint Designer instance and return to the first instance (primary site).
6. Repeat steps 3 through 5 to create a second subweb, which will replace the term "subsite" in the URL with SPD2.