Daily SQL Job will start at 12.00. It will run a package that fetch a CSV file from a folder(using for each loop container in ssis). Suppose if there no files in that specific folder. You should not run the package until the csv files load into that folder? How we can do this using SSIS . Please help me on this.
2 Answers
Using a script task, you can check if the file exists in that location with that file extension and then build an expression in the precedence constraint editor. Set the evaluation operation to expression and constraint value to success. Something like the one shown in the screenshot below.
