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
Opal | Level 21

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.

Anand_V
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 

CLI in SAS Viya

Learn how to install the SAS Viya CLI and a few commands you may find useful in this video by SAS’ Darrell Barton.

Find more tutorials on the SAS Users YouTube channel.

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