I am setting up a logic river does the following steps.
- Pull a file from an SFTP and load into snowflake.
- Run a select from a view and put results into an S3 bucket.
- Send an email with link to data in S3 bucket.
This process runs every 15 minutes to see if the file exists in the SFTP. I am looking for a way to stop the process if no file is found. Currently it will send an email every 15 minutes.
If I truncate the table I load into I will not get an email, but I can’t find a way to truncate the table after this process completes so it will not send another email.