EnjoySharePoint YouTube Channel

How to use App Step Nintex Workflow Action in SharePoint Online Office 365

nintex workflow examples

In this Nintex Workflow tutorial, I will explain how to use app step workflow action in Nintex Workflow for Office 365 SharePoint Online. This will be very much helpful if you want to do some elevated privileges tasks inside your workflow in SharePoint Online.

Get Office 365 Enterprise E3 Or Business Premium Subscription & Try out all the features

SharePoint designer has the same App Steps workflow action to elevated privileges in SharePoint. Check App Step in SharePoint 2013 Designer Workflow.

In this example, we will use two Nintex workflow action: App Step and Delete Item. Let us say I have a user who has Contribute No Delete permission in the SharePoint Online site. For this, I have created a custom permission level by copying the Contribute permission and then assign it to one user.

After that, I am going to create a Nintex workflow which will have one workflow action Delete Item.

Now to create a workflow for the SharePoint list using Nintex Workflow, Open the SharePoint online list, from the ribbon click on the Nintex workflow. This will open the workflow gallery. In the workflow, gallery clicks on Create new Nintex workflow button to create a new workflow. Then I have added a Delete Item workflow action into it.

nintex workflow examples
nintex workflow examples

Double click on the Delete Item workflow action to configure the workflow action. Here I have chosen to Delete the current item.

app step nintex workflow for office 365
delete item nintex workflow for office 365

Now publish the workflow and once the workflow successfully published, go back to the list and run the workflow manually for one item. Just to let you know that I have set the workflow to run manually option.

Ideally, when you run the workflow it should delete the item. But if you will see the workflow, you will see something error like below. The error says: Access denied: You do not have permission to perform this action or access this resource.

App step nintex workflow sharepoint
App step nintex workflow sharepoint

The workflow is not able to delete the item because the user does not have permission to delete the item.

Now here comes our App Step, this will be helpful to elevated privileges. Go back to the list and from the ribbon click on Nintex workflow to open the workflow gallery. Click on the particular workflow to edit the workflow.

Now add an App Step to the workflow. Inside the app, step adds the Delete Item workflow action. So the workflow should look like below:

App Step in Nintex workflow
App Step in Nintex workflow

Here one thing you should remember that, In order to make App Step work correctly, make sure “Workflow can use app permissions” feature is Activated in the site.

To make sure it is activated or not, go back to the Site Settings, then click on Manage site features which are under Site Actions section. There search for “Workflow can use app permissions” feature and if it is not activated activate it. If you will not activate it will give the error in the App Step in a workflow.

Workflow can use app permissions app step nintex workflow
Workflow can use app permissions app step nintex workflow

Now Publish the workflow and try to run the workflow for the item in SharePoint list. This time it will delete the item, even if the user does not have permission to delete an item in the SharePoint Online list.

You may like following Nintex workflow for Office 365 tutorial:

Hope this article will be helpful to you to use the app step in Nintex workflow for Office 365 in SharePoint Online.

Check out Best Alternative to InfoPath -> Try Now
You May Also like the Following SharePoint Tutorials:

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 SharePointSky.com

View all posts by Bijay Kumar →