Share via

Update DB when whole Synapse pipeline fail

Lotus88 176 Reputation points
May 20, 2025, 2:43 AM

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

Accepted answer
  1. Nandan Hegde 36,396 Reputation points MVP Volunteer Moderator
    May 20, 2025, 3:10 AM

    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: Newest

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.