Skip to main content
Nintex Community Menu Bar
Answer

How to hide workflows from users

  • August 30, 2017
  • 4 replies
  • 69 views

Forum|alt.badge.img+7

Hi,

 

I want to know if it is possible to hide workflows from specific user groups? That is, how can I prevent a user from group xyz, click on file and then 'workflows' and run some workflows from there?

 

Also, how can I prevent this user from clicking 'Nintex workflows' and then editing the workflows?

 

Thanks in advance!

Best answer by TomaszPoszytek

You cannot. In Nintex for Office 365 there are no inline functions.

The only way to achieve that is to manually call the userinfo rest api using the "Call webservice" action and that way to validate if the user is a member of a specific group, or not, ex.: https://simonovens.wordpress.com/2014/08/13/sp2013-rest-api-find-if-user-is-member-of-sharepoint-group/

Regards,

Tomasz

4 replies

Forum|alt.badge.img+13

These are the permissions that allow users to execute those actions:  

So, if they are below those permission levels, they will not be able to do those things.


Forum|alt.badge.img+7
  • September 5, 2017

You can also begin your worklfow with a test "if IsMemberOf(your group xyp) then Stop workflow".

Not a best practice because you will start workflow instances for nothing, but should work.


Forum|alt.badge.img+7
  • Author
  • September 5, 2017

Could you kindly let me know how to do this?

"if IsMemberOf(your group xyp) then Stop workflow"

Is it using run if? Then how do I get the group name of the user running it? Thanks!


TomaszPoszytek
Forum|alt.badge.img+17

You cannot. In Nintex for Office 365 there are no inline functions.

The only way to achieve that is to manually call the userinfo rest api using the "Call webservice" action and that way to validate if the user is a member of a specific group, or not, ex.: https://simonovens.wordpress.com/2014/08/13/sp2013-rest-api-find-if-user-is-member-of-sharepoint-group/

Regards,

Tomasz