Create Approval workflow in for SharePoint 2013 document library

Create Approval workflow in for SharePoint 2013
SharePoint deveopment training course

Here we will discuss how we can create a SharePoint 2013 approval workflow from the browser itself. Here I have a document library and I want when a user uploads a document to the document library, it will go for approval and once the document got approved then the document should appear in the document library. If the approval got rejected then it should not show the document in the document library.

You may like to read: Custom Actions Add custom buttons to SharePoint list ribbon using SharePoint Designer 2013

We will use here the default our of box approval workflow which is presented in SharePoint 2013. If you are not able to see all the default workflows when trying to add workflow in the browser then check out an article on Not able to see all out of box workflows in SharePoint 2013 Online Sites.

First, create a document library using the standard document library app template. Here my document library name is “MyTestDocLib”.

Then in the next step, we will enable the content approval for the library. For this Open your library got to the library settings. In the Settings page, click on Versioning settings under General Settings.

Also see: How to enable document information panel settings in SharePoint 2013?

In the Versioning Settings page, Select Yes radio button in the Content Approval section. Then in the Document Version History section select radio button “Create major and minor (draft) versions”. Then in the Draft Item Security section select the radio button “Only users who can approve items (and the author of the item)”. Then click OK as shown in the fig below:

Create Approval workflow in for SharePoint 2013
Create Approval workflow in for SharePoint 2013

After this open the document library to create the document approval workflow. Then From the Ribbon click on the LIBRARY tab and then go to the Settings section in the right side, then Click on Workflow Settings -> Add a Workflow.

Create Approval workflow in for SharePoint 2013 document library
Create Approval workflow in for SharePoint 2013 document library

This will open the Add a Workflow page. Here Select the workflow template as Approval – SharePoint 2010. Then give a unique name for the Workflow. Then select your Task List, Workflow History list. Then in the Start Options, choose the options on which you want the workflow to be started. Here select “Start this workflow to approve publishing a major version of an item” radio button. To allow users to manually approve an item I have selected this radio button also “Allow this workflow to be manually started by an authenticated user with Edit Item permissions”.See the fig how it looks.

how to create approval workflow in sharepoint 2013
how to create approval workflow in sharepoint 2013

Also read: Deploy SharePoint 2013 designer workflow to a different site in SharePoint 2013

Then click on Next. Then in the next screen, it will allow you to assign Approvers, Due date for a task, comments for approvers etc. So in the next screen customize something like below:

You can put the approver and also you can put some comments for the approver. Make sure you checked the checkbox “End on first rejection”, so that when the item goes rejected it will end there. Then click on Save.

how to create approval workflow in sharepoint online
how to create approval workflow in SharePoint online

Now the workflow is successfully attached to the document library. You should be able to see like below:

how to create approval workflow in sharepoint 2016
how to create approval workflow in SharePoint 2016

You may also like to read: Delete list item after specific duration using SharePoint designer workflow

Now let us go to the Document library and upload a document to it. The item will be available to the creator and the person who have permissions to manage lists and libraries can see it. For other users, the item will not be available.

When a user uploads a document, an email will be triggered to the person you have configured in the workflow. When a user opens the email, S/He can open the task by clicking on the task title or from the Open this Task button from the Ribbon in the email.

Due to some constraints I will not able to show you the email, here I am directly opening that task. When you open the task, you will be able to see a screen like below, where you can Approve, Reject, Cancel etc.

approval examples sharepoint document library
approval examples sharepoint document library

Once you approve the document will appear for everyone who has read access to see the SharePoint 2013 document library.

You may like following SharePoint workflow tutorials:

Hope this will be helpful to create an approval workflow in SharePoint 2013 document library using out of box browser feature.

Check out Best Alternative to InfoPath -> Try Now

free sharepoint training

SharePoint Online FREE Training

JOIN a FREE SharePoint Video Course (3 Part Video Series)


About Bijay Kumar

I am Bijay from Odisha, India. Currently working in my own venture TSInfo Technologies in Bangalore, India. I am Microsoft Office Servers and Services (SharePoint) MVP (5 times). I works in SharePoint 2016/2013/2010, SharePoint Online Office 365 etc. Check out My MVP Profile.. I also run popular SharePoint web site

View all posts by Bijay Kumar →