Problem to start job In Orchestrator


#1

Hi,
I have deployed my robot on https://platform.uipath.com and it is available. I imported some process but i can’t start job these. I explain when i click to start job i can select one process but i can’t select my robot. it shows me "No data to show ".
I need help.


I would like to ask a question about UiPath Orchestrator API What is "robotId"
Call Robot In Orchestrator By Rest APi
#2

Did you create an environment, add your robot to it and deployed process on it?
Refer to Academy -> Orchestrator training if needed.


#3

hello @andrzej.kniola. I have forgetten to do it.Now it works very well.

An other things. I want to know if it exist web service to start a process in Orchestrator.


#4

Hi @papaass,

The Orchestrator API is an OData version 4.0 standard compliant REST API that exposes entities and their relationships using well defined access, navigation and modification rules.

Hope this could help you:

https://www.uipath.com/hubfs/Documentation/OrchestratorAPIGuide_2016.2/UiPathOrchestratorAPIGuide_2016.2.html

Regards,
Susana


#5

Hi @Susana ,
thx for your help.
I have explored this document.
On the part where they talk the “StartProcessDto” i discover that : The Start Process transfers information from the client to the server during JobsController.StartJobs custom action. Supported methods: None.

Do you have any idee about the solution to get around it ?


#6

Hi @papaass,

If you want to start a job using HTTP request you have to know the release key associated with that process, but also the Robots’s ids where the process should be executed. (In addition you must be authenticated in the orchestrator)

So the previous steps for starting a job are to obtain the accessToken, the release key and the robots’s id.

Finally the start job request should be similar to:

{
“startInfo”: {“ReleaseKey”: “1cc3318a-01da-478c-bb07-ec1bf6dc52a2”,
“RobotIds”: [
465
],
“NoOfRobots”: 0,
“Strategy”: “Specific”
}
}

This is a project sample (it contains other methods like getSchedules and getProcesses) but I hope It will help you.
TEST_ORCHESTRATOR_API.zip (15.8 KB)

take a look at this:


Please let me know if you need more information!

Regards,
Susana


#7

hello @Susana,
thx for your avalaibility.

I want also to know how we can pass to data to process when we start job it ?