Need help in the below scenario for unattended bots

Scenario : Password Reset Process

During Maintenance window , we are going to reset the password of a particular application .

The application credentials are picked from DB . There are totally 35 credentials and each credential is unique.

Suppose if the process is running in Bot -1 , it is programmed to pick bot -1 application crede tial only.

Likewise 35 set of creds will be used when the process is running on each bot , based on bot username the credential is picked .

But for password reset , we have to reset all credentials at once. How can this be done ? Any design suggestions ?

The reason why it has to run in its own username bot , is because the otp comes for password reset/login.

There will be one solution for password reset , but it has to reset all bot’s passwords

In the process it self you can declare the condition to change the password
I mean date or is maintenance window true and at that time it should update password in db

@Ragavi_Rajasekar

@Ragavi_Rajasekar

solution can be one only…but the same process can be run using each bot id to make sure reset happens for all…

cheers

How to run from orchestrator based on bot id ?

@Ragavi_Rajasekar

Two ways

  1. Add an in argument to main.xaml and then pass the bot id you want to run on
  2. Use environment.currentusername to get the current running bot id

Cheers