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

Control Flow- Map Column Value To Variable and Conditional Flow

$
0
0

Hi, 

I have a master-child packages set up where master package passes on the controlid ( runid) to child packages.

I need to have Control Flow logic in each of my SSIS package in such a way that - it first checks if the controlid is already executed in the prior run I need to skip the package execution ( Data Flow Task). I do this by getting the controlid from the table  the package is affecting. 

Is there a way when we use the execute TSQL Tasks - we get the controlid from the table. we then compare to the value in the variable passed from the master package - if the value is same - we can  use the precedence control and skip execution of the data flow tasks. 

I have already used the Execute TSQL Task and obtained the controlid. I am not sure how to use the value returned from the Execute TSQL tasks and compare it with the variable value and then use the precedence control ?

Please advice..if this is even possible ? or a alternative way to achieve the same logic...

Thanks...


EVA05


Viewing all articles
Browse latest Browse all 24688

Trending Articles



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