can I get the Parent task in a custom data flow task?
can I get the Parent task in a custom data flow task?
I'm building a custom data flow task to handle errors in a generic way in C#. I want to output the Task name (the name of the Data flow) as well as the Task name that is inputting data into my custom task.
Is there a way to get both the task name and the previous data flow task name that's inputting the data
THanks in advance,
-Chris
PS, the VariableContainer didn't seem to contain any of the system variables- ex. the below statement returned false.
this.VariableDispenser.Contains("System::SourceName")
can I get the Parent task in a custom data flow task?
WASTHEBEST
Just to clarify Matt's point...SSIS actually does have a System::SourceName variable but it is only available in the eventhandler container. You can't reference it in your control-flow.
-Jamie
Carlosmcg
Blutcher
Matt
sondlerd
I added the System::SourceName variable to the custom data flow component by using LockOneForWrite, but gave an error that that variable doesn't exist.
Is there a place where I can find a listing of the system variables available at the data flow component level
DveMac
Do I have to add the system variables to the VariableDispenser
Thanks for your help Matt,
-Chris
Martin Drinovsky
Matt
gishac
As for the variable dispenser, unless you have added variables to it via the lock methods then it contains no variables. Additionally, there is no such system variable as SourceName.
Thanks,
Matt