Today I stumbled upon a weird behavior in Azure Data Factory (ADF) error handling.
ADF lets us add error handling in the flow control, In this example, I’m trying to copy some data, and if that fails go to on failure branch (red line). If the activity succeeded, go to on success branch (green line)
These work great (If you can call a failure great…).
Let’s take another step. What if I want to run another activity at the end, no matter if the copy succeeded or failed?
The behavior is a bit weird, as it doesn’t work quite the way you’d expect. Chen, however, shows us how to do it.