I have a ForEach loop for importing all available tables in source connection. I am using following user variables for this:
OracleTablesof typeSystem.Objectfor holding all tables from oracle DBTableNamefor enumeratingOracleTablesof typeString- set of
Booleanvariables (e.g.Enable_TABLENAME) one for each table to hold whether that table is to be imported or not.
Now, I want to configure the DataFlow task inside ForEach loop to run iff the value of corresponsing table variable if true. Basically, I want something like:
!@[User::Enable_@[User::TableName]] for Disable property of DataFlow task.
that is, I want to get the Boolean table variable for for current table held by TableName variable.
How can I achive this? Or else, is there any better way to do this? Any pointers would be really helpful.