Hello UiPath Masters,
I wonder if there is a way to ‘lock’ an asset when it’s in use in UiPath (so any other running processes cannot acquire it)? Or any other tools that can help to dynamically assign assets?
Recently I’m automating a process on an application, which allows only one session for a username (i.e. if I used ‘username1’ logged on the application on server A, and after a while my teammate also used ‘username1’ logged on the application on server B, then my session will be logged out with a message “You have been logged on elsewhere”). I have 2 sets of credentials for this application, while any 2 of my 5 robots may run this process concurrently to shorten turnaround time.
The script structure is like “Get a transaction item -> Get an available credential -> Process on the application -> Shutdown application and clean up -> Get another transaction item -> …(looping until no new items in queue)”, and I’m kind of stuck at the step “Get an available credential” as I’ve no idea which username is in use when there is another process already running.
Sorry for my bad English…Thank you in advance for your patience to read through this!