How can I get the ID of the Robot my process is currently running on?


Does anyone know how I can get the ID of the robot my process is currently running on?
I saw similar posts where one suggested using the Get Processes activity, but I can’t figure out how to use it to get the information I need.

I want to use it in several odata/Jobs/UiPath.Server.Configuration.OData.StartJobs HTTP Requests, with jsonBody = “{‘startInfo’: { ‘ReleaseKey’: '”+ in_strProcessKey+"’, ‘Strategy’: ‘Specific’, ‘RobotIds’: [here’s where I want to put the ID of the robot my current process is running on], ‘Source’: ‘Manual’} }"

The new jobs have to be assigned to the same robot as the current job, as they must be processed in the exact same order as they are put on the job queue.

Or is there a better solution to achieve this?



Have you found the answer for this? How to get the robot ID?


Hi @Joshikumarav

This worked for me:
Robots_GetCurrentRobotId.xaml (9.2 KB)


which package is this ?

it is missing and i cant find the exact package to install :slight_smile:

DeserializeJson(JObject)’ in namespace '

Could not find type ‘DeserializeJson(JObject)’ in namespace ‘’. Row: 88, Column: 12

Hi @Mansi_08

These are the packages I used:


that links is died now.