• That sounds correct if you have 3 files that are failing?

    Instead of using the OnError event to run a script task, can you use the failed precendence constraint on the ForEach loop container to run the script task?