so i am creating a login page when i give login details of employee it need to give employee dashboard when i give login details of manager it should givem manager dashboard
Hello.
Your login action can just have a switch that will redirect if CheckManagerRole=True to Manager Dashboard, if CheckEmplyeeRole=True to Employee Dashboard, and anyone else to homepage.
@M Lahya
In Service Studio, you can find the Roles option under the Logic section. Create two roles: Employee and Manager. Based on the user's login role, you can provide the appropriate inputs and dynamically change the screen accordingly.