Hi @SORU
The best way to get the robot ID dynamically is to use API
https://cloud.uipath.com/[Organization Name]/[Tenant Name]/orchestrator_/swagger/index.html#/Robots/Robots_Get
With this API call you can retrieve list of all the robots and the ID you’re looking for is a “UserId” in the response body.