Orchestrator trigger run

How to dynamically control the time in which the orchestrator trigger executes?

You need to check this documentation:

Thanks @marian.platonov …i have an excel file which has different times in which we need to execute the schedule…is it possible to execute the schedule based on the time specified in the excel file?

You can do that by performing a POST Rest API call for ​/odata​/ProcessSchedules

Example of payload:

  "Name": "Test_trigger",
  "Enabled": true,
  "StartStrategy": 1,
  "SpecificPriorityValue": null,
  "JobPriority": null,
  "RuntimeType": "Unattended",
  "InputArguments": "{}",
  "ResumeOnSameContext": false,
  "StopProcessExpression": "",
  "RunAsMe": false,
  "IsConnected": false,
  "UseCalendar": false,
  "StartProcessCronDetails": "{\"type\":0,\"minutely\":{\"atMinute\":1},\"hourly\":{},\"daily\":{},\"weekly\":{\"weekdays\":[]},\"monthly\":{\"weekdays\":[]},\"advancedCronExpression\":\"\"}",
  "StartProcessCron": "0 0/1 * 1/1 * ? *",
  "ExecutorRobots": [],
  "ReleaseId": 642942,
  "ReleaseName": "ActionsExample",
  "TimeZoneId": "GTB Standard Time",
  "StopProcessDate": null,
  "ExternalJobKey": "",
  "MachineRobots": []

Results in Orchestrator:

More details here:


No, because the Job has to be running in the first place to read the Excel file.

How can I GET “ReleaseId”?

Perform a GET request for /odata/Releases

Thanks, I want to create Queue Trigger through API, this is my payload:

“Enabled”: true,
“Name”: “Test_Trigger”,
“ReleaseId”: 799875,
“ReleaseName”: “DataScraping_iKs”,
“InputArguments”: “{"MyArgument":“Value”}”,
“JobPriority”: null,
“StartStrategy”: 1,
“RuntimeType”: “Unattended”,
“TimeZoneId”: “Central European Standard Time”,
“QueueDefinitionName”: “Test_Trigger”,
“ItemsActivationThreshold”: 10000

my requirements: i must pass argument to Process, i must choose RunTime type, Execution Target (Account, Machine) and i must pass Queue Name on which process will be triggered.

I try it on swagger and I get 400 response.

While performing the action in Orchestrator UI, use the browser Inspect tool and monitor the Rest API calls from the Network tab.

There you will see the pieces of information that you need (Payload and the Request header details).

1 Like

Thank you! You’re the best!