Micro/Nano flows : find user role
0
Hi All, I need to make a decision in a Microflow based on user role, but I can’t seem to find how to get to it. Do you know a way from $currentUser object to test if it has admin role? Thanks
asked
2023-09-07
Mihai Suman
1
answers
0
Hi Mihai Suman
Example – I have a user roles Employee
Retrieve User roles from Current user
Retrieve Head object from the list
Add slit and check $UserRole/Name = 'Employee'
Hope you find it helpful!
answered
2023-09-08
Jhansi Mora