Make sure using Orchestrator API's that if old execution is not finished, then new one should not get trigger.
- Use the following request URL to get the jobs data.
- https://ORCHURL/odata/Jobs
- From the resultant output, through release name parameter, identify the process name. Below highlighted for reference:
- 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.
- 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.