How to send callin pipeline as pipeline Name in azure data factory pipeline failures

Philip O'Rourke 111 Reputation points
2022-04-27T15:24:07.45+00:00

Hi,

Have looked at below and have set up logic app and can get e-mail when pipeline fails.

https://learn.microsoft.com/en-us/azure/data-factory/how-to-send-email

I have set up 2 pipelines

1) pipeline as per above and when run standalone reports name of pipeline which calling send_error_email

2) pipeline called load_customers which has activities and if they fail e.g. copy data and if they fail, execute the pipeline referred to in 1) above.

It runs fine, however the pipelineName reported is the pipeline name send_error_email, rather than the calling pipline from 2)

How can we best ensure that the pipleinename reported in the e-mail is the pipleine which has called the send_error_email (i..e in our case copy_customers)?

Aware can use azure monitor alerts but woudl be good to have this functionality of reporting originating pipelineName

Thanks

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
10,180 questions
0 comments No comments
{count} votes

Accepted answer
  1. ShaikMaheer-MSFT 38,401 Reputation points Microsoft Employee
    2022-04-28T16:50:39.203+00:00

    Hi @Philip O'Rourke ,

    Thank you for posting query in Microsoft Q&A Platform.

    We can achieve this very easily by having a parameter in "send_error_email" pipeline. And for this parameter we should pass value from "load_customers" pipeline.

    Please check below implementation to get idea.
    197453-image.png

    Hope this helps. Please let us know if any further queries.

    ----------

    Please consider hitting Accept Answer. Accepted answers help community as well.


0 additional answers

Sort by: Most helpful