Scenario:
1 Machine template is created and 1 runtime(Unattended license) is allocated to it. Two different Robots(hosts) are connected to the Orchestrator using the same machine template. Even though the Robot is not in use/Running, the license acquired by the 1st host does not get released for the 2nd Host even when the machine is signed off/idle.
As per the design:
- Runtimes are consumed when the Robot service runs (basically when the machine is booted, and released when it is shutdown)
- Robot does not release the runtime after stopping the job even if this user/Robot has signed off from the machine.
Runtime can be released from a Robot by following any of the below steps,
- Manually change the license toggle at the machine level in the Orchestrator UI -> License tab
- Disconnect the Robot from Orchestrator
- Shut down the Robot machine
- Call /odata/LicensesRuntime(‘MachineName’)/UiPath.Server.Configuration.OData.ToggleEnabled API
Notes:
- The Unattended Robot installed in system mode (which is the one that one uses for dedicated Unattended machines) logs out of Windows when the job is done, but does not disconnect from the Orchestrator (and therefore does not release the license). To release the license, shut down the machine or disconnect the Robot from or disable the license toggle
- If the Robot is installed in user mode (the default for Studio/Assistant setups), when the user logs out from the machine, the Robot shuts down, disconnects from orchethe strator completely, and releases the attended license).