Hi Alteryx Community,
I have a scheduled workflow that runs on the server each business day at 7:00AM, but only when the required source data on the LAN has been updated before that time. When the source data is NOT available by 7:00AM the workflow is designed to shut down and email me to notify of the failed run. So far it's working exactly the way I want it to, except that I then to manually re-launch the workflow later once the source data finally appears on the LAN.
The obvious next step from here is to have the workflow keep looping (say every 30 minutes or so) whenever there's a failed run, and then finally halt for the day upon the first successful run.
My research so far seems to indicate that an Iterative Macro might be the solution I'm looking for here, but I haven't yet found any examples that are really similar to my situation. More specifically, my current process uses a Directory tool to identify the source file's last modified date, but the Directory tool doesn't have an input anchor to which I could attach a Macro Input tool. So how do I create a loop in my workflow when there's seemingly no way to get 'in front of' that initial Directory tool?
I hope this was clear, and I'd love to know how others may have worked through any similar situations. Thanks in advance!