Resolution when Robot goes in pending state and gets stuck with an error as Robot Licensing Failed. There are no available runtime licenses.
Error Message: When running 2 Robots on the same server, with 2 different users accounts. At a given point only 1 Robot user is able to acquire the license. When Robot user 1 completes a job, the license is not released automatically and the Robot user 2 is not able to acquire license automatically.
Hence due to this, the jobs scheduled for Robot user 2 are staying in pending state with an error as "Robot Licensing Failed. There are no available runtime licenses. (#1915) ."
Resolution: The above error warning is the expected message when the number of Robots are more than the available runtimes. But there is a issue in 2019.10.x Robot doesn't start automatically and stuck in pending state.
Perform the below,
- Login machine with user 1
- Open the system tray from bottom and quit the UiRobot showing there
- Signout user1 from the machine.
- Perform the above three activity for user 2 as well
- Now run process from Orchestrator
- Make sure to quit the UiRobot from Robot tray. The "UI" symbol in the Robot tray should not be available and then sign out from both users
- It should be possible to run the Robots on both users.