In the Snapshot (below) there are two Execute Package Tasks(1 and 2) along with two Execute SQL Tasks (A and B).
I have to create an SSIS variable such that if the value is a day of the week and a weekday (Ex: Monday), then the Execute Package Task 2 has to be triggered. If the value is a weekend (Ex: Saturday or Sunday), then Execute Package Task 1 has to be triggered. Based on 1 or 2 getting triggered, B automatically gets triggered.
The variable should be such that if the user inputs the value as 0 it should trigger Execute Package Task 2 (this pulls data for weekdays)
and if the user inputs value as 1 then it should trigger Execute Package Task 1 (this pulls data for weekends).
Can someone help me creating the variable?
Thank you.
Sandeep.P