Solved

How to hide workflows from users

  • 30 August 2017
  • 4 replies
  • 44 views

Badge +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!

icon

Best answer by TomaszPoszytek 5 October 2017, 00:02

View original

4 replies

Userlevel 5
Badge +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.

Badge +7

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.

Badge +7

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!

Userlevel 7
Badge +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

Reply