Reactive several default screens depending on the role

So i have 2 roles and the role A goes to screen 1 after the login. Role B goes to screen 2 after the login.

What is the best solution to this scenario?

I did it like this:

But ofcourse i will have this warnings:

Hi @Flávio Monteiro ,

The best way to check roles in a reactive web application is by using the following script:

This way you avoid the multiple server calls warning. Just replace your 'CheckRoles' server action with this.



Thank you for the answer.

Best regards,


Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.