I have 3 tasks in an SSIS package. The first task is an Execute Process Task
that runs a PowerShell command to download a file from a website. If the command fails the task fails. So I have two connections from it to two other tasks: one for success and one for failure.
The package works as expected. If the Execute Process Task
succeeds it runs the associated success task. If the fails it runs the associated failure task.
The problem is that if the Execute Process Task
fails, it shows the task as failing even though it correctly/properly ran the failure task connected to it.
Is there anyway to get it to stop showing as failure but still run the associated failure task even when the Execute Process Task
fails?