Getting Process ID for Retrieving All Robots That Can Execute a Specific Process in Orchestrator API

Hello, I am currently trying to setup Orchestrator API on a local site.

On the ‘Retrieving All Robots That Can Execute a Specific Process’ section, it says “enables you to identify, on the fly, which Robots can execute the package with the ‘processid’”.

The below example was given:
https://{yourDomain}/odata/Robots/UiPath.Server.Configuration.OData.GetRobotsForProcess(processId=‘input_output_arguments_example’)

I am having trouble understanding what the processId is and where I am supposed to get that from.

Would be great if someone would be able to help with this!

https://cloud.uipath.com/[organizationId]/[tenantId]/orchestrator_/swagger/index.html

In the “Gets Jobs” API request you can get the process id

thanks for the reply,
would be be able to show me exactly what part is the processId in an example of the Get Jobs output.

using orchestrator version 23.10 if it helps

Yes, in orchestrator API you can use :

https://cloud.uipath.com/YOURORGANIZATION/YOURTENANT/orchestrator_/odata/Jobs

image
In the response you have “The ID” of the process.

@DimitriLYR
Kindly note that we took some actions as one of your above posts offered sensitive data

@Dub
as mentioned by Dimitry we can retrieve the ID via ORC API

For prototypings we recommend to work with Swagger

1 Like