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

Set log message within script task

$
0
0
I have a script task in my control flow that does some validation checking. If one of those checks fails, I want to fail the task and send an appropriate message via email. I've accomplished this by updating a package that is then used as the source for the email message.

However I also want my message text to appear in the package ...Log.xml file. Currently it only says that the script task returned a failure result. There must be some way to do this, and I hope some guru out there can help me.

Thanks,
Phil

Viewing all articles
Browse latest Browse all 24688

Trending Articles



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