Follow the steps in this page to build your first Nintex workflow in SharePoint 2016.
i Important
To build workflows in Nintex for SharePoint 2016, you must meet the following requirements:
• You must have Design permission in your SharePoint environment.
• You must be a member of the Workflow Designer’s group in SharePoint. For more information on how to configure allowed workflow designers, see SharePoint on-prem user permissions for Nintex.
For this tutorial, we will create a workflow that automates the leave request process in your organization using Nintex for SharePoint 2016. To achieve this goal, we have the following steps:
Step 1: Create a SharePoint list
Step 2: Open Nintex for SharePoint
Step 3: Send an acknowledgment email to the initiator
Step 4: Solicit the manager’s response to the leave request
Step 5: Notify the initiator if leave request is rejected
Step 6: Notify HR if leave request is approved
Step 7: Notify initiator if leave request is approved
Step 8: Save and publish the workflow
i Note
In this tutorial, the following roles are used consistently in context with SharePoint terminologies:
• Initiator: The staff member who submitted the leave request.
• Manager: The staff member’s direct manager who responds to the leave request.
Upon successful submission, a page appears to display site contents including your new list.
In the new window that appears, do the following:
In Column name, type “Leave Type”.
Select Choice.
Type each choice on a separate line:
“Annual Leave”
“Sick Leave”
“Leave without pay”
“Maternity Leave”
Click OK. The new column appears on your list.
Repeat previous four steps to create the following columns:
Column type |
Column name |
---|---|
Date and time | Start Date |
Date and time | End Date |
Multiple lines of text | Description of leave |
Click the following image to see how your columns should look like:
After the columns are created, click Stop editing this list.
Now, we can begin attaching a Nintex workflow to this list. Let’s move on the next steps.
The workflow designer canvas appears.
In your workflow, use the Send notification action to configure sending an email to the employee who successfully submitted a leave request. This email serves as an acknowledgment receipt of the leave request.
Your leave request has been received and forwarded to Manager's Display Name for review.
Leave details:
Leave Type: Leave Type
Start date: Start date
End date: End date
Note: Replace the red text with references. Use the Insert Reference option and locate the following references:
From the Common tab , select Manager’s display name.
From the Item Properties tab, select Leave type, Start date,and End date.
Click the following image to see what your configuration should look like:
Use the Request Approval workflow action to configure an email to notify and solicit the manager’s action for the leave request.
Click (Browse) next the Approvers field.
Select the Lookup section.
Click Manager and then click Add.
Click OK.
Note: To enable the automatic selection of a user's manager, the information must be available in the user's Active Directory account. If you are accessing a Nintex trial on a Nintex-hosted site, the user's manager information will not be available, as the Standard Edition of Nintex Workflow does not support Active Directory.
In the ribbon, click Task Notification.
In the Edit settings for field, select Manager.
A message appears warning that your configurations will override the values for Manager and changes to all approvers will no longer affect this user. Select OK to continue.
In the Delivery type field, select Email.
In the Subject field, type "Approval Required", if not already automatically generated.
In the email body text box, type the following message:
A leave request has been submitted.
Leave type: Leave Type
Staff member: Initiator's Display Name
Start date: Start date
End date: End date
Note: Replace the red text with references. Use the Insert Reference option and locate the following references:
From the Item Properties tab, select Leave type, Start date,and End date.
From the Common tab, select Initiator's Display Name.
Click the following image to see what your configurations should look like:
Now we have completed the configuration of notifying the manager when a staff member submits a leave request. Based on the response, we will configure the workflow to process the following results:
Let’s do that in the next steps.
Use another Send Notification action to inform the employee when the leave request is rejected.
Your leave request for Start date to End date has been rejected.
Note: Replace the red text with references. Use the Insert Reference option and locate the following references:
From the Item Properties tab, select Start date,and End date.
Now we can also add a Send Notification action to inform the HR Manager if a leave is approved for an employee.
Tip: Tip: You can also use an internal search for your HR department.
Leave Type request of Initiator's Display Name has been approved by Manager for between Start date and End date.
Note: Replace the red text with references. Use the Insert Reference option and locate the following references:
From the Common tab, select Initiator's Display Name, Manager.
From the Item Properties tab, select Leave Type, Start date,and End date.
Instead of configuring a new Send Notification action from scratch, we can copy the Send Notification action from the first branch of the Request Approval branch to the second branch and then update the action to replace the recipient with the initiator.
Click the drop-down arrow of the Send Notification action located on the declined branch of our Request approval action, and select Copy.
Below the Send notification action that sends email notification to HR staff, right-click on the drop zone and select Paste.
Double-click the new action to open the configuration dialog.
From the ribbon, click General > Save.
Your workflow should look like the following:
In the Nintex Workflow 2016 ribbon, click Save.
In the Title field, type “Leave Request”.
In the Description field, type “Use this workflow to process leave requests”.
Click Submit.
In the Nintex Workflow ribbon, click Publish and then click Submit.
Congratulations! You have created you first workflow on SharePoint.
Next step:
Go to Part 3 : Design your first Nintex form in SharePoint 2016