Retrieve All local users except Admin by using Accounts table

0
Hi, I am  retrieving Account table with following XPATH : [Name != empty  and  System.UserRoles/System.UserRole/Name != 'Administrator' ] In our grid we don't want to show  Administrator Accounts. Thanks. -Prakhar  
asked
2 answers
1

Try with

[not(System.UserRoles='[%UserRole_Administrator%]')]

-Andrej

answered
0

Andrej answer is the right answer. To only thing that might mess this up is this setting in the User role setting:

Because if the user role that is triggering this microflow is not allowed to manage the other roles you could end up in your situation.

Regards,

Ronald

 

answered