BookmarkSubscribeRSS Feed
rabindrakumar1
Obsidian | Level 7

Hi All,

I have deploy and scheduled a flow which is file based event and also the scheduled time to run the flow is daily at 13:00 hours. The flow gets triggered at 13:00 hours but the flow sometimes fails due to non-availability of required file.

Is there a way to put the flow on wait for 10 mins or 30 mins, if the file is not found and then again re-run automatically after waiting time. For example sleep for 10 mins or 30  mins.

 

Kind regards,

Rabi.

2 REPLIES 2
SASKiwi
PROC Star

If you only want to run your job when a file is present you should schedule your LSF job for a file event and not for a particular time. That way the job will only start when the file arrives.

AnandVyas
Ammonite | Level 13
Why not add this requirement as part of code itself?

suga badge.PNGThe SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment. 

Join SUGA 

Get Started with SAS Information Catalog in SAS Viya

SAS technical trainer Erin Winters shows you how to explore assets, create new data discovery agents, schedule data discovery agents, and much more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 583 views
  • 0 likes
  • 3 in conversation