Creating Pluggable Workflow Services

SharePoint 2010

Last modified: April 16, 2010

Applies to: SharePoint Foundation 2010

Creating a pluggable workflow service in Microsoft SharePoint Foundation 2010 allows a developer to create a communication channel between a running workflow instance and an external application or component.

Set Up a Workflow Service Project

  1. Install Visual Studio and the extensions for workflow on any server where SharePoint Foundation 2010 is installed.

  2. Create a new Sequential Workflow Library project

  3. Add the following references:

    • Microsoft.SharePoint

    • Microsoft.SharePoint.WorkflowActions

  4. Include the attached cs file in the project.

  5. Compiled the project with assembly signing on.

  6. Copy the resulting DLL to the Global Assembly Cache (GAC).

  7. Add a workflow service entry to web.config file, as shown in this example.

    <WorkflowService Assembly="WorkflowService, Version=, 
  8. Create, install, and activate a new Sequential workflow project that uses the workflow service via HandleExternalEvent

  9. iisreset