Ways of Scheduling / Triggering a process

orchestrator
schedule

#1

Hey - I was curious about different ways of triggering/scheduling a UiPath process.

Obviously there’s Orchestrator and Windows Scheduler, but I was wondering if anyone else had experimented with other methods.

Does anyone have experience triggering a process via an API? Is that still possible, or has it been deprecated?

Presumably you could trigger a bot from the command line - is it possible to do it from another computer/server?

Has anyone tried some really weird or interesting way of kicking off a process?


#2

Hi Melkins,

As long as you can send the request the API will work.

Starting a bot currently requires 3 steps:
1 - Get the Release key /odata/Releases$filter=ProcessKey eq 'PROCESSNAME'
2 - Get the Robot ID /odata/Robots?$top=1&$filter=Name eq 'ROBOTNAME'
3 - Start the Job /odata/Jobs/UiPath.Server.Configuration.OData.StartJobs
{
“startInfo”: {
“ReleaseKey”: “ReleaseKeyHere”,
“Strategy”: “Specific”,
“RobotIds”: [RobotIdHere],
“NoOfRobots”: 0,
“Source”: “Manual”
}
}

Best,
Matt