I am working on an existing BOT which is executed multiple times a day. It actually needs only one successful execution. After the first successful execution, it only runs to check whether the files were already created. I kind-of feel like this is unnecessary and I am checking whether there is a way to enable or disable Orchestrator’s subsequent schedule without manual intervention based on the result of the previous BOT’s execution result?
Hi @mbalaji1985 - In addition to @loginerror’s suggestion, you might consider Queue triggers. You may have to tweak your process a bit but may be it is helpful in your case. Can refer to article About Triggers for more details.
Thanks @mahesh.kumar . I will explore the option you have suggested, but on the initial understanding, it seems queues work better when there is a chance of overlapping. Do you have any logic on how to go about this ?
I think @mahesh.kumar suggestion is spot on. You can read more here:
In short - you can set up a Queue Trigger that will start your process when a new queue item is added to the specific queue.
This way your process will only run when there is something to be processed
Also, you can set a maximum of process that should run simultaneously. If you set the max to 1, it will run only 1 process at a time.
This can be all done with a few clicks via Orchestrator.
Hi @loginerror, My Orchestrator version is 2019.4.4 and I am not able to see any Triggers. Is seems that this option is not available for this version.