Azure Synapse Analytics "on fail" workflow not working.

Chris King 20 Reputation points
2023-08-10T02:42:03.6+00:00

I have setup basic email notifications for my Azure Synapse pipeline but the task on the "on fail" workflow path does not activate. It seems the task failing halts the execution of the pipeline, yet I thought the whole point of an "on fail" task was to continue the pipeline. I have looked but not found anything yet about a setting to allow the pipeline to continue, even after a step fails??

User's image

Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
5,307 questions
0 comments No comments
{count} votes

Accepted answer
  1. Nandan Hegde 34,941 Reputation points MVP
    2023-08-10T03:51:27.6533333+00:00

    Hey,

    In ADF, the task works in AND format.

    So the web activity for email notification would run only if your copy activity and both your SP activities fail which is logically not possible.

    Hence the pipeline halts.

    Please refer to this blog to make up the necessary changes :

    https://datasharkx.wordpress.com/2021/08/19/error-logging-and-the-art-of-avoiding-redundant-activities-in-azure-data-factory/

    User's image

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.