question

KranthiPakala-MSFT avatar image
1 Vote"
KranthiPakala-MSFT asked FlemmingWeyers-8831 commented

Azure Data Factory Trigger Run status shows as "Succeeded" for failed pipeline execution

I have a daily trigger scheduled in the azure data factory. The pipeline encountered an error upon execution. but the trigger run is showing "Succeeded" status.

I am expecting the trigger run should marks status as "Failed" instead of "Succeeded".

Is this a bug in the Azure Data Factory Trigger?

[Note: As we migrate from MSDN, this question has been posted by an Azure Cloud Engineer as a frequently asked question] Source: MSDN


azure-data-factory
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

HimanshuSinhamfst-5269 avatar image
2 Votes"
HimanshuSinhamfst-5269 answered FlemmingWeyers-8831 commented

Welcome to the Microsoft Q&A (Preview) platform.

Happy to answer your query.

Please allow me a moment to explain about triggers vs pipelines.

Triggers and pipelines are different. The main purpose of a trigger is to start / kick-off a pipeline run. In most cases what you want to track is the pipeline run status, not the trigger status.

For scheduled triggers and event triggers: If the trigger fails, the pipeline never starts. If the trigger succeeds, the pipeline run starts. The trigger does not care about whether the pipeline succeeds or fails, only that it starts.

Also, please note that a pipeline run can succeed even if one of its activities fails. That is a separate topic.

While rare, a trigger can fail. This could be due to concurrency, throttling, or something else.

· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

just adding a small question abiut that.
Is crisp clear the difference between triggers/pipeline and their purpose.
The only problem I see the alerts inside ADF can be only set on triggers and not on pipelines (that make not that useful is triggers never fails).
Am I rigth?
Many thanks

0 Votes 0 ·

nvm there are plenty of metrics to set, not only on triggers:)

0 Votes 0 ·

Hi, I'm having the same issue. Could you elaborate a little bit on the solution you have found?

0 Votes 0 ·