In SSIS… is it possible to access and change the package itself from one of its script tasks? If it is… could you please provide an example?
For instance, I would like to programmatically configure the tasks within a foreach loop from a script task located outside (before) the loop. Something like reading a file and add/removing/configuring tasks depending on its contents.
Thanks for your time!
No, that’s not possible – however, I do something very similar by utilizing a second “child” package that I reuse numerous times. In the script you can simply clear out the child package, put all of the items/containers/constraints you need into it, and then execute it.