Start Job activity Throwing error


#1

Hello Everyone,

I was just going through new activities in 2018.1 version of UiPath…There is Start job activity…While i try to run this activity it is throwing error as

{
“message”: “Start job : Operation returned an invalid status code ‘Forbidden’”,
“level”: “Error”,
“logType”: “Default”,
“timeStamp”: “14:46:34”,
“processVersion”: “1.0.6619.26104”,
“fileName”: “test”,
“jobId”: “50699718-657b-49ed-9084-fa71d4cb479”,
“robotName”: " "
}…
Can anyone help where i am doing mistake…?


Start job activity throws error
#2

Hi Sam,

That’s because you need to give the Robot role extra permissions. From the user guide:
"Please note that in order to execute this activity in Studio, the Robot has to be connected to Orchestrator and the Robot role needs to also have the create and edit rights on jobs, as well view on processes and environments."

This is how the Robot role should be updated in Orchestrator:


Error while using Start Job activity