We have a requirement to switch the operator id in a flow. I will give a background of the requirement.
We have modified login screen to include 'create account' which invokes a flow to create an account. To achieve this we have created a auth service to authenticate a model user and invoking the flow to create account. After creating account using a flow, we need to display the user dashboard. Before displaying the dashboard I want to switch operator from the model user to the account that we creates using the flow so that the dashboard shows relevant information to the account operator that we created.
Well this is very classic situation where you create the OperatorID on the fly and let the user work with it. You shouldn't have to switch anything I believe it should be automatic. I guess there is something wrong on the design side.
AFAIK, you cannot switch the Operator context on fly. Once the operator is authenticated and context is established, you cannot change it. You should logoff the current user session and establish a new one.
Posted: 3 years ago
Posted: 7 Sep 2018 6:16 EDT
Raveendra Mothukuri (Raveendra)