I am trying to setup my package to fire an event when the package is finished running, regardless of if its successful or failed. I have tried creating a variable that is set to true when the following statement evaluates to true
Dts.Variables("SourceName").Value.ToString() = Dts.Variables("PackageName").Value.ToString()
in a script task on the OnPostExecute event (since it fires multiple times, I read this would only have it fire when the package was the source...).
Once this variable is set to true, it is used in evaluating a completion path to fire off another task.
This idea, however, does not seem to work properly. It either fires too many times, or not at all. Anyone have any ideas?
Thanks,
Michael