Reading userole as user

Hi All! We are trying to constrain a user selection only the user that have a chosen/defined role. We put an Xpath – [System.UserRoles= '[%UserRole_Approvatore%]'] The dropdown show no items, we suppose because the user cannot access to useroles. How can we achive it?  Thanks in advance! Alessandro
1 answers

This is because you have to log in with a user which has the user role “Approvatore”. In the last picture you show us the “User” role, which is not the “Approvatore” role. So, assign the “Approvatore” role to a user account, log in with that account and try again.