cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
andreapasutti
Nintex Newbie

Will Queries Work if I do Not Have Permission to the List?

Jump to solution

Just wondering. If I initiate a workflow and I do not have access to a list that the workflow queries, will the workflow fail?

Labels: (2)
0 Kudos
Reply
7 Replies
cassymfreeman
Nintex Newbie

Re: Will Queries Work if I do Not Have Permission to the List?

Jump to solution

Cannot test this right now but I am fairly sure it will either fail or return no values from the query list action.

if you want to guarantee permissions at certain parts of your workflow you can wrap actions in an "action set" and choose to run that action set and it's contents with the workflow owner permissions.

Reply
cassymfreeman
Nintex Newbie

Re: Will Queries Work if I do Not Have Permission to the List?

Jump to solution

I will test this when I get online later just for completeness and keep you posted.

Reply
andreapasutti
Nintex Newbie

Re: Will Queries Work if I do Not Have Permission to the List?

Jump to solution

I tried testing it with my test ID and I can't rely on those results. I secured the library to exclude my test ID, I logged in with my test ID, and I could still access the library. I will try testing it as well in other parts of our environment.

0 Kudos
Reply
cassymfreeman
Nintex Newbie

Re: Will Queries Work if I do Not Have Permission to the List?

Jump to solution

OK so I have done the following test.

User A has contribute access to the list that the workflow is on, but no access whatsoever to the list that the workflow is querying.  The workflow completed without error, but the collection returned from the query was empty.

User B has full control to the site and published the workflow in the first place.  The workflow completed without error and the collection returned all items as expected. 

0 Kudos
Reply
cassymfreeman
Nintex Newbie

Re: Will Queries Work if I do Not Have Permission to the List?

Jump to solution

oh and just to be clear for completeness sake; as user A I also tried to navigate to the list that the workflow was querying and got

Sorry, you don't have access to this page

Reply
andreapasutti
Nintex Newbie

Re: Will Queries Work if I do Not Have Permission to the List?

Jump to solution

Very interesting. Thank you so much. We added the user to the list that the workflow queried, restarted the workflow, and it was successful.

This is good to know.

Reply
cassymfreeman
Nintex Newbie

Re: Will Queries Work if I do Not Have Permission to the List?

Jump to solution

Yes and now I have learnt something too   Glad you're all sorted.

0 Kudos
Reply