Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

SSIS For each loop container - does not loop all the files

$
0
0

I need to process any type of the files in the folder. Files comes in while the ssis package is IN PROGRESS.

1) I created a for each loop container - Enumerator (FileEach File Enumerator)  - Files (*.*) to loop through the files in a folder.
2) created a Execute SQL Task to execute the procedure and move the processed file to different folder.

When the ssis package is running, files comes in and foreach loop container does not get refresh the total list of files in the folder to process. As a result files are left out in the folder.

Can anyone let me know how can I refresh the enumerator while ssis is in progress or any alterantive solution to continue processing all the files in the folder.


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>