Home > Blockchain >  Azure data factory pipeline failure trigger execute only last pipeline
Azure data factory pipeline failure trigger execute only last pipeline

Time:04-01

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

CodePudding user response:

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.

  • Related