question

KranthiPakala-MSFT avatar image
KranthiPakala-MSFT asked ·

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
10 |1000 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
HimanshuSinhamfst-5269 answered ·

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.

Share
10 |1000 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.