Micro/Nano flows : find user role
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
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!