June 3, 2009 at 6:27 am
hello
do you know if it is possible to get the name of the task? i don't like the logging tab of ssis so i use event handlers to do logging...
i use script task to write to a file if the task throws an exception...however i could not find how to write the name of the task
June 3, 2009 at 8:43 am
Try the system variable @[System::SourceName]
[font="Arial Narrow"]bc[/font]
June 3, 2009 at 8:49 am
I use the Variables.TaskName to get the Task and ComponentMetaData.Name to get the name of the step (which is the script task). Check out this article[/url] in which I outline my methods for doing this. Also check out the discussion as I have created a custom component for this and link to the download for it in the discussion. And here's a link to an article[/url] that builds on mine.
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply