Skip to content
Amal Hashim
All posts
Article

SharePoint - Custom approval workflow with dynamic approvers in SharePoint Designer

Build a document approval workflow in SharePoint Designer 2010 where the approver is picked from a column on the document.

2 min read#SharePoint#SharePoint 2010

This walkthrough builds a document approval workflow in SharePoint Designer. The approver is not fixed. It comes from a metadata column on each document.

The document library has an "Approver" column:

Document library with an Approver column

Build the workflow

  1. Open the site in SharePoint Designer. On the ribbon, click List Workflow and select the document library.

List Workflow on the ribbon

  1. Enter a name and description.

Workflow name and description

  1. Add the action "Start Approval Process" from the ribbon.

Start Approval Process action

  1. Click the "these users" link to edit the step.

The these users link in the action

  1. Pick the approver from a property of the current item. This is what makes the approver dynamic.

Select Task Process Participants dialog with the address book button highlighted

Select Users dialog with Workflow Lookup for a User highlighted

Lookup dialog with Current Item as the data source and Approver as the field

Participants set to Current Item:Approver

  1. Click OK, then choose Workflow Settings on the ribbon.

Workflow Settings on the ribbon

  1. Under start options, tick "Start workflow automatically when an item is created". Every new document in the library then goes through approval.

Start options for the workflow

  1. Publish the workflow.

Publish on the ribbon

Test it

  1. Open the library settings, then Workflow settings, and check the workflow is associated.

Workflow settings showing the new workflow

  1. Upload a document and put a valid user in the Approver field.

Uploading a document with an approver

  1. The workflow starts and the status shows "In Progress".

Workflow status In Progress

  1. A new task is created for the approver.

Approval task for the approver

  1. Opening the task shows the Approve and Reject options.

Approve and Reject options

  1. Click Approve and the workflow completes.

Completed workflow