How to Set Document Set Approval Status Using NINTEX Workflow in SharePoint

Introduction

This article shows how to set Document Set approval status using NINTEX workflow in SharePoint. I have a team site in which I have activated the site collection feature "Document Sets". I have created a Document Library "Vijai Documents" and set up the document set for the library. Please refer to set up Document Set in SharePoint document library. Make sure content approval is enabled for the document library. (Click on the "Library" tab in the ribbon interface then seelct "Library Settings" => "Versioning Settings" then set "Require content approval for submitted items is set" to "Yes".) I have created a choice column "Department" in the document library. In this article you will see how to set Document Set approval status.

Workflow Design

Workflow Design

Run if action is used to check whether "Department" column has "Sales" value.

The set document set approval status action sets the approval status to "Rejected" if the "Department" column has a "Sales" value to capture the document set version.

Set document set approval status workflow

Set the document set approval status workflow using the following procedure:

  1. Navigate to the Vijai Documents library.
  2. Click on the "Library" tab and then click on "Workflow Settings".
  3. Click on "Create a Workflow in Nintex Workflow".

    Create a Workflow in Nintex Workflow

     
  4. Click on "Cancel".

    Workflow Template

     
  5. Drag and drop the "Run if" action from the Logic and flow section.
  6. Click on "Configure".
  7. Check if the "Department" field has a "Sales" value.

    Logic and flow section

     
  8. Click on "Save".
  9. Drag and drop the "Set document" set approval status from the Libraries and lists action.
  10. Click on "Configure".
  11. Set the approval status to "Rejected".

    Set the approval status

     
  12. Click on "Save".

Publish the workflow

  1. Click on the "Publish" button in the ribbon interface.

    Publish the workflow

     
  2. Make sure the Title is set; optionally you can set the values for Description and Change Comments.

    Description and Change Comments

     
  3. Click on the "Submit" button.

    Publishing Workflow
     
  4. The workflow is published successfully.

    workflow published successfully
     

Test the workflow

Test the workflow using the following procedure:

  1. Navigate to the Vijai Documents library.
  2. Select the Document Set for which the Department has the "Sales" value and then click on "Workflows" in the ribbon interface.

    Workflows in the ribbon interface

     
  3. Click on the "Document Set Approval Status" workflow and then click on the "Start" button.

    Document Set Approval Status workflow

     
  4. After a few minutes the workflow status will be changed to "Completed".
  5. Click on the context menu and then click on "Approve/Reject".

    workflow status

     
  6. The Approval status is set to "Rejected".

    Approval status is set to Rejected

    Test the workflow
     

Summary

Thus in this article you have seen how to set Document Set approval status using a NINTEX workflow in SharePoint.

Related Links

Up Next
    Ebook Download
    View all
    Learn
    View all