How to run a specific scenario based on a username?

@JoseSantos You can try to manage it in your main scenario in ScenarioBuilder as below:

  1. Define a string variable (i.e. “user”) and put the value as “[Env username]”.
  2. Create a CSV file that includes the usernames and scenarios names.
  3. Add a “Find CSV Line” action and attach the CSV file to it. Then add the If expression where you compare the connected user account with the username (in the CSV file). If they are equal, then the robot will be pointed to the corresponding row.
  4. Try to run the desired scenario based on the username using a Switch/Case action.

Similar to below image:

Attached please find the sample scenario if you want to give it a try.

Run Scenario based on Username.zip