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

Send an email when ForEachLoop Fails

$
0
0

Hi Gurus,

At Present Im looping through Excels and loading into db. But I have a requirement that, lets say in future if a file comes with different excel format my pkg fails.

Lets say today I have 10 files in a sourcefolder and 10th file is in different(wrong) format, After looping through and moving 9 files to Processed folder my pkg failed at 10th file. so, Here, I need to send the user an email mentioning that the job has failed at this particular file.

Please help me with this.


Viewing all articles
Browse latest Browse all 24688

Trending Articles



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