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
1 answers
1

Hi Mihai Suman

Example – I have a user roles Employee

  1. Retrieve User roles from Current user
  2. Retrieve Head object from the list
  3. Add slit and check $UserRole/Name = 'Employee'

 

Hope you find it helpful!

answered