Determine userRole in decision box.

0
I have 2 module roles – admin and employee(and same user role). Now there’s a microflow where I want to check the user role and based on that I want to display different pages. How should I proceed further? I want to apply the asked condition in the first decision box.
asked
1 answers
1

Hi,

You can do one thing. Retrieve account from database with Xpath [id = currentuser] before the decision box.

Here you can find userroles. In decision box, you can provide the userrole and show a page 

answered