I have quite a complicate DAG structure in airflow, and I am trying to set the trigger rule for a particular DAG where I would like it to run ONLY if the upstream of that DAG 'succeeded' or 'failed' or 'skipped'.

In short, I do not want it to run if 'upstream_failed' was detected.

Is there such a trigger rule to do this?

Thank you!

Or alternatively, is it possible to mark downstream tasks as 'skipped' if a task fails?

0

There are 0 best solutions below