Forum Discussion

dzav's avatar
dzav
Advocate III
1 year ago
Solved

On fail task not triggering

I've got a pipeline with multiple tasks (Data flows, invoke pipeline, notbook, etc) that all connect to an Office 365 Outlook task via an "on fail" connection so that I get an e-mail notification if any of these tasks fail. However, I noticed that this doesn't trigger on failure. With some testing, I realized that this only triggers if only one task is connected and fails. If multiple tasks are connected, they all need to trigger and fail. So, to correct this, I'd need to create an Office 365 Outlook task for each step.

 

What am I missing? Is that how pipeline on fail connections work in Synapse and ADF pipelines, too? If this is intended behavior, this seems illogical.

2 Replies