O'Reilly logo

Microsoft SharePoint 2010 Development with Visual Studio 2010: Expert Cookbook by Balaji Kithiganahalli

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating a state machine workflow

So far we learnt how to create a sequential workflow as a list or as a site workflow. We also learnt how to add a custom initiation and task form to the workflow. In this recipe, we will create a state machine workflow that defines a project approval process.

Here are the steps that this workflow will follow through:

  1. Workflow starts automatically on uploading the document to the document library.
  2. A task is created to the manager for the approval.
  3. The manager can either approve, reject, or request more information. In case of rejection, the workflow ends.
  4. On approval from the manager, a task is created to the customer. The customer can either approve, reject or request more information from either the manager or the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required