SSIS: Use System::TaskName inside the dataflow

后端 未结 2 1791
长情又很酷
长情又很酷 2021-01-25 05:46

For more detailed logging, I want to retrieve the [System::TaskName]

Right now, when starting from the task that fails we go to \'script task\', there I fetch [System::T

2条回答
  •  旧巷少年郎
    2021-01-25 06:09

    From the looks of your data flow, it looks like you're trying to implement error logging. I've had good luck using an event handler for this sort of thing in the past. It has the added benefit of cleaning up your layout and making the maintenance of the package easier in the future as you don't need to maintain linkage from all of your tasks to the error handling.

提交回复
热议问题