Perform a variable-based data flow task?

As a simple example: I have only two data flow tasks (DT1 and DT2) in my control flow. I have configured the package configuration to populate a variable based on the value in the SSISConfiguration table. How to execute DT1 if the variable is true and DT2 if the variable is false. Do I need to add dummy Flow Flow tasks (script) so that I can use the expression in a use case? Or use the Disable property for the task? What is the best way to do this?

Thanks!

SSIS 2008

+4
source share
3 answers

script , , . PostExecute , .

disable, , , , .

script, script, () - enterpriseisey, .

+1

Script DT True False. DT

0

I would use an expression to set the Disable property to DT1 (if the variable is false) and DT2 (if the variable is true).

0
source

Source: https://habr.com/ru/post/1526394/


All Articles