cancel
Showing results for 
Search instead for 
Did you mean: 
Workflow Hero

how to execute action as admin

Jump to solution

I have a workflow where users submit a request for a new price on a part.  Once the form is filled out, it goes to a Price List Admin group for approval.  If the request is approved, the Price list is updated with the new price.

We are running into a problem in that the workflow is failing when it tries to create a new item in the price list.  The only people who have the ability to create or edit the price list are the price list admins.  Anyone can make a request, but only the admins can approve the request and modify the price list.

It appears that the workflow is attempting to create the new price in the price list under the credentials of the initiator.  Since the initiator does not have permissions to create a list item, or edit a list item in the price list, the workflow errors out.

I seem to remember that there used to be a way to run an action with elevated privileges but I can't find it.  Google searching doesn't help.  This seems like a very common use-case.  It should be obvious but I can't find it.

Thanks

Dave Petersen

Labels: (2)
Reply
3 Replies
Workflow Hero

Re: how to execute action as admin

Jump to solution

Hi David,

Which version of Nintex Workflow are you using?

For Nintex Workflow 2013, try using the Action Set action and placing the actions in it.  When you configure the Action Set, go to the Common tab and check the "Run as workflow owner" option.  Checking this option will cause this action, and any child actions, to run using the credentials of the user who published the workflow instead of the user who started the workflow.

For Nintex Workflow for Office 365, Nintex recently added the Action Set with an "Elevate permissions" option.  This allows you to run child actions in the Action Set with elevated app permissions. One thing to keep in mind is that the "Workflows can use app permissions" SharePoint site feature must be activated on your site to use the Action Set in Office 365.

Reply
Workflow Hero

Re: how to execute action as admin

Jump to solution

Thanks!  I knew there was something like that somewhere - just didn't know where to look.  I appreciate it.  Big time saver.

Reply
Workflow Hero

Re: how to execute action as admin

Jump to solution

Hi Eric,

Is this solution for both on premise and office 365 ? Because I am not able to see the option 'Run as workflow owner' in the Action set in on premise. I have enabled the app permission in manage site features as well.

Thanks

Jag

0 Kudos
Reply