We received several request about implementation of loops in Orchestrator.
As you should already know loops are not directly supported by Orchestrator, but you can easily implement them using a sub-workflow and the retry on failure (or error) feature.
Attached an example workflow that implements an infinite looping:
- One workflow checks for a given file presence for 5 minutes, if the file does not exist after 5 minutes it sends an alert email and fails.
- One workflow uses the previous one as sub-workflow and sets the retry on failure value to 0 (infinite loop).
Note: these workflows have been created using Orchestrator 2.3 Backward compatibility has not been tested. But you should be able to understand the logic if you need to implement it in a previous version.