Forum Discussion

arvindnsn's avatar
arvindnsn
Contributor
2 years ago
Solved

How to identify if there are no files in the source when using Multi file Reader Snap

Hello,   I am using the Multi file Reader Snap to copy the files from a SFTP source location and write into a Storage blob container. The process is to run every 30 mins to pick any file(s) that ar...
  • ljupcho_machko1's avatar
    2 years ago

    arvindnsn, you can also try to use the below approach, where first you will use Directory browser snap (with selected option Ignore empty result), to check if there are source files created. After that you will use the Gate snap with unselected option "ignore empty string" and after the Gate snap you will have Router snap, that will orchestrate the flow, based on that is there any source file(s) present or not. If the files are there you will trigger MultiFile reader snap, otherwise, you will send email notification - no files.