'Azure data factory pipeline failure trigger execute only last pipeline

I use azure data factory to configure my data pipeline.

The problem is failure trigger only works on the last pipeline. The intermediate one fails, but it does not trigger a failure alarm

All pipelines are connected by completion ( blue line )

enter image description here



Solution 1:[1]

Thought

If you remove all the Failure lines. And then, let it "Copy data1" fail deliberately, if "Copy data2" works, it meanings

  1. Completion line works.
  2. Completion line and Failure line cannot happen at the same time.

Then, you can link "Copy data1" and "Copy data2" with a Failure line if you want "Copy data2" to continue to work.

If you don't want "Copy data2" to continue to work, use the Success line.

Code/Result

Whether copy is right, copy2 will be triggered.

?Copy1 is failed.

enter image description here

?Copy1 is normal.

enter image description here

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1