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

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!