خرید بک لینک

Vote count: 0

I have an SSIS package with about 50 different steps. Many of the steps will run in parallel.

I would like to put a ScriptTask at the end of the package such that, regardless of success or failure, I send out an email which reports on the status of the package run (the package logs things to a database as it runs, so the ScriptTask involves querying the status tables and formatting them into HTML).

Is there a way to have a task that executes when all other tasks have either completed ruing, or been skipped due to dependencies?

I have tried to add my task to the OnError event handler, but this has it raise up to n times when tasks fail in parallel. I don't want to have every single step flow to the ScriptTask with the OnFailure condition, because it will make the package functionally impossible to use due to the volume of coections. I also believe that coecting it as such would not ensure it ran, as some steps would be skipped and thus not have a success or failure status.

asked 1 min ago

برچسب: نویسنده: استخدام کار تاريخ: چهارشنبه 16 تير 1395 ساعت: 4:13

صفحه بندی