SharePoint Designer 2010 makes it easy to create a workflow. What’s even better is that you can export that workflow, import it into Visual Studio 2010, and add code and custom activities.
You may find that exporting the workflow to a WSP in SharePoint designer fails. Luckily there’s a simple workaround once your workflow is deployed to a SharePoint 2010 site.
- Go into that site and save it as a template (via Site Settings).
- Then download the WSP from the site template gallery.
- Now import the WSP into Visual Studio 2010, using the “Import Reusable Workflow” template.
I have found this workaround to work nicely.