How to initiate dialog depending on role of user

Hi Team,

Is there any way, we can configure the dialog for the users depending on his/her roles?
For example: I want to initiate different dialog for logged in user (say role here is “loggedIn”) and different dialog for Anonymous user (role here is “Anonymous”).
I do expect bot will invoke “Service Menu” if role for that user is “loggedIn” and “Access Issue Menu” if role for that user is “Anonymous”. Is there any such configuration in Bot Tasks configuration?

I can do it by passing this flag in custom data and read it chat bot in script node. I want to understand is there any configuration way that we can do this. Thanks in advance.

Any response please? Can someone help here.

@praful_dhone
As you know our platform is as generic as possible. For specific use cases like this, the method you have suggested is the recommended approach. There is no configuration as such. But you can create branching etc based on certain custom data/flags in the context and checking them on script/logic node etc.