Update DB when whole Synapse pipeline fail

Lotus88 176 Reputation points
2025-05-20T02:43:58.09+00:00

Hi,

Is there a way to update the DB (I already have a stored procedure) when the whole pipeline fail instead of update DB from individual activity ?

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,339 questions
{count} votes

Accepted answer
  1. Nandan Hegde 35,356 Reputation points MVP Volunteer Moderator
    2025-05-20T03:10:23.0466667+00:00

    Please refer the below blog to avoid adding a SP activity at the end of each activity but you can use a combination of dependencies across each activities and compare whether there is any error and log accordingly.

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

    That is how you can capture all error messages across all activities.

    If you want to avoid that, you can call your pipeline from another pipeline and add that SP post the execute pipeline activity.

    1 person found this answer helpful.
    0 comments No comments

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.