Hello,
I need to create some triggers with Orchestrator Manager.
It seems to be not possible to specify the account and the machine in the Triggers sheet…
Can you confirm please ?
@sangeethaneelavannan1 , yes but i need to do this with Orchestrator Manager because I have about 60 triggers to create.
You can specify the user /Account in this field
It is still yet to be modified again
If you need more leverage you can try using orchestrator api calls
<Orchurl>/Swagger/index.html
will give the swagger file for api calls
cheers
Create automation by yourself.
- Create an Excel file with all the trigger details that you need.
- Manipulate the values from the Excel file to build the trigger with the Rest API call.
Example for a Time Trigger
URL: https://cloud.uipath.com/your_org_name/ypur_tenant_name/orchestrator_/odata/ProcessSchedules
Method: POST
Authorization: Bearer + " access_token"
Headers:
Accept: application/json
Content-Type: application/json
x-UiPath-organizationunitid: YOUR_FOLDER_ID
Body of type JSON:
{
"Name": "Time_Triger_test",
"Enabled": true,
"StartStrategy": 1,
"SpecificPriorityValue": null,
"JobPriority": null,
"RuntimeType": "Unattended",
"InputArguments": "{}",
"ResumeOnSameContext": false,
"StopProcessExpression": "",
"RunAsMe": false,
"IsConnected": false,
"UseCalendar": false,
"StartProcessCronDetails": "{\"type\":1,\"minutely\":{},\"hourly\":{\"frequencyInHours\":1,\"atMinute\":0},\"daily\":{},\"weekly\":{\"weekdays\":[]},\"monthly\":{\"weekdays\":[]},\"advancedCronExpression\":\"\"}",
"StartProcessCron": "0 0 0/1 1/1 * ? *",
"ExecutorRobots": [],
"ReleaseId": 672026,
"ReleaseName": "Calculator",
"TimeZoneId": "GTB Standard Time",
"StopProcessDate": null,
"ExternalJobKey": "",
"MachineRobots": [
{
"RobotId": 994169,
"MachineId": 2558883,
"SessionId": 19451470
}
]
}
Example for a Queue Trigger
URL: https://cloud.uipath.com/your_org_name/ypur_tenant_name/orchestrator_/odata/ProcessSchedules
Method: POST
Authorization: Bearer + " access_token"
Headers:
Accept: application/json
Content-Type: application/json
x-UiPath-organizationunitid: YOUR_FOLDER_ID
Body of type JSON:
{
"Name": "Queue_Triger_test",
"Enabled": true,
"StartStrategy": 1,
"SpecificPriorityValue": null,
"JobPriority": null,
"RuntimeType": "Unattended",
"InputArguments": "{}",
"ResumeOnSameContext": false,
"StopProcessExpression": "",
"RunAsMe": false,
"IsConnected": false,
"UseCalendar": false,
"ItemsActivationThreshold": 1,
"ItemsPerJobActivationTarget": 1,
"MaxJobsForActivation": 1,
"StartProcessCronDetails": "{\"type\":0,\"minutely\":{\"atMinute\":1},\"hourly\":{},\"daily\":{},\"weekly\":{\"weekdays\":[]},\"monthly\":{\"weekdays\":[]},\"advancedCronExpression\":\"\"}",
"StartProcessCron": "0 0/1 * 1/1 * ? *",
"ExecutorRobots": [
{
"Id": 994169
}
],
"ReleaseId": 672284,
"ReleaseName": "Raise error from Personal Workspace",
"QueueDefinitionId": 471724,
"QueueDefinitionName": "Queue_1",
"TimeZoneId": "GTB Standard Time",
"StopProcessDate": null,
"ExternalJobKey": "",
"MachineRobots": [
{
"RobotId": 994169,
"MachineId": 2558883,
"SessionId": 19451470
}
]
}
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.