https://prefect.io logo
p

Paul Lucas

08/10/2022, 12:35 PM
Hi all I’m attempting to implement a flow where a task only runs if any of the direct upstreams fail so I’m using
trigger=any_failed
which works fine when one of those does fail. But when those upstream tasks are all successful, I seem to get a
TriggerFailed
on that task and therefore the flow run is
FAILED
. Is that expected behaviour and if so, how do I instead get it to just skip that task instead of marking it as Failed and therefore the whole flow as failed? Thanks in advance