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.
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