Hello,
I use two independent SQL Server WMI Warnings to watch the same folder for changes and trigger two individual packages. One deals with .xlsx (.xls, .xlsm) and the other with .txt files. So in my WMI-Query I use the Extension LIKE expression.
This works fine. The not so great part is that when both file types reside in the same folder my SSIS package also wants to deal with the .txt files creating an error because I have set my for each loop to deal with all files (*.*) in order to get all free Excel file types in my package.
Now my question is: is there a way to stop the package to load the .txt files via some restriction or will I need to move the .txt files to a different "watch folder"?
I have different prefixes for Excel and text files so maybe I can do something with that?
thank you.