How To Ensure Robot Is Free Before Triggering A Process Through API?

Make sure using Orchestrator API's that if old execution is not finished, then new one should not get trigger.

  1. Use the following request URL to get the jobs data.
  • https://ORCHURL/odata/Jobs
  1. From the resultant output, through release name parameter, identify the process name. Below highlighted for reference:

  1. After identifying the process, you can query the parameters Start Time and End Time. If the job is currently running, then the End Time parameter would be null.

  1. It is observed that the current job is running. This logic can be put in the workflow, and the process can be continued only when there is a value in End Time.