- Unable to create a new Attended Robot in On-Premises Orchestrator as license is already occupied by the previously deleted Attended Robot. - All Attended Robots are removed from Orchestrator but license is still occupied. - Not able to release attended License to a new Robot.
Issue Description: Unable to create a new Robot of "Attended"/Any other type which was removed/changed to different type but however still consumes a license/runtime on Orchestrator.
- User consuming License on Licenses section:
- Robot not visible in Robots section in Orchestrator:
Root Cause:
Robot of "Attended" / Any other type is stuck in the database and hence consuming License.
Resolution:
- Robot of "Attended" type is stuck in the database and still consumes the license / runtime.
- To troubleshoot the issue open the SQL server instance -> execute below SQL queries -> check for existence of the information on deleted Robot / user occupying the license in Database.
select * from dbo.RobotLicenses where RobotType = 1
OR
select * from dbo.Robots where UserName = 'domain\username'
- List of Robot types:
- Locate the User information:
- Flip the user License using the below commands * (Use any of the below ) :
- Illustration 1:
Update [UiPath].[dbo].[RobotLicenses]
Set Enabled = '0'
Where RobotType='2' and RobotId = '5'
- Illustration 2:
Update [UiPath].[dbo].[RobotLicenses]
Set Enabled = '0'
Where RobotType='2' and Key='value'
*Based on the number of Users and type of Licenses, the Update query shall be amended accordingly.