Upon Completion path can't coexist with either Upon Success or Upon Failure path

Ravikiran Srinivasulu 10 Reputation points
2024-10-26T02:57:22.5433333+00:00

In the below link, it is mentioned that

"You may add multiple branches following an activity, with one exception: Upon Completion path can't coexist with either Upon Success or Upon Failure path. For each pipeline run, at most one path is activated, based on the execution outcome of the activity."

https://learn.microsoft.com/en-us/azure/data-factory/tutorial-pipeline-failure-error-handling#conditional-paths

But when I create the pipeline below, both the failure and completion paths are executed.

User's image

Isn't the docs contradicting to the actual authoring experience?

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

1 answer

Sort by: Most helpful
  1. Vinodh247 22,951 Reputation points MVP
    2024-10-27T06:22:43.0166667+00:00

    It appears that the documentation does seem contradictory to your observed behavior in Azure Data Factory. According to the documentation, if an activity has both "Upon Completion" and "Upon Failure" paths, only one path should execute based on the outcome. However, in your setup, both paths (failure and completion) seem to be triggered simultaneously, which indeed deviates from the documented behavior.

    This discrepancy could be due to a few possibilities:

    1. Documentation Lag: Sometimes, the documentation may not be updated to reflect the latest changes or behaviors in the Azure Data Factory authoring experience.
    2. Platform Behavior Update: The behavior in Azure Data Factory may have been modified recently to support simultaneous execution in specific scenarios, though this hasn't been clearly documented.
    3. Bug or Unexpected Behavior: It could be a bug, especially if it's not the intended design according to the documentation.

    In summary, your experience does seem to contradict the documentation, and following up with Microsoft directly may clarify whether this is expected behavior or an anomaly.


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.