Starting a job trhough API on a modern folder

Hello,

I’m trying to start a job by API request on a modern folder. I was able to do this on a classic folder.

But I’m getting this type of problems :

image

image

image

If none of the strategy are allowed to create the job then how it should be done ? or is not possible to create a job on modern folders ?

Regards,
Diogo Nunes

Please try with the strategy value ModernJobsCount and include the JobsCount field as well:

{
  "startInfo": {
    "ReleaseKey": "acb123-abc123-abc123-abc123",
    "RobotIds": [],
    "JobsCount": 1,
    "JobPriority": "Normal",
    "Strategy": "ModernJobsCount",
    "RuntimeType": "Unattended",
    "InputArguments": "{}"
  }
}

From Orchestrator 2020.4’s Swagger page:

3 Likes

Thank you.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.