I have a Script (Script Transformation) component that should be capable of DFT failure, that is, the data flow task of which it is a part.
I am running an error like this
try { // Does some work here, which can fail... } catch (Exception ex) { bool pbCancel = false; this.ComponentMetaData.FireError(0, Variables.TaskName, "Error message: " + ex.Message, String.Empty, 0, out pbCancel); }
However, FireError does not crash the task.
Note that this is a Script component inside a data conversion task, not a Script task.
What should I do to complete this task from the Script component?
source share