Hi.
So I have a Foreach Loop Container, and in it, a Script Task. On success of Script Task it follows to a TSQL Query, if Script Task fails, the flow goes to another TSQL Query. Green arrow or Red.
However in the Script Task I have setup a try {} catch {} condition that does a bit of logging and then issues a Dts.TaskResult =(int)ScriptResults.Failure. I find that line breaks the foreach loop even if the Flag FailParentOnFailure is set to False.
I wanted the Failure or Sucess of the Script Task to only control the flow inside the Foreach Loop, not to break it. I am thinking this wrong ?