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

Passing the Script task variables to Send mail Task

$
0
0

I have a script task which has 5 variables. I am using c# code for flat file validations. 

One variable for the No header record

one variable for the No trailer record.

one variable for the No Detail record.

one variable for the more than one header record

one variable for the more than one trailer record.

Based on the issue raised i have to pass that variable value to the email task and remaining variable values are zero.

Based on the issue raised i am failing the script task and need to pass the variable value to the email task and if it is success then i am going to load the data.

My question is how to pass variable value to the email task ? I don't want to pass 5 variable values it has to automatically take the issue variable value.


Viewing all articles
Browse latest Browse all 24688

Trending Articles



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