I have a task that is using the trigger “any_faile...
# ask-community
r
I have a task that is using the trigger “any_failed” as a way to “clean up” if any upstream tasks fail. My expectation is that this task would be “skipped” if the upstream tasks succeed. In actuality the task is marked as failed and my flow failed. I got around this by setting a reference task, but it seems strange to mark a task as having failed when it didn’t run. Is there a way to change this to skip? Thx!
k
Hi @Robert Bastian! I tested this and this seems like the right approach where you set the reference task. State handler would be the way to change state from
TriggerFailed
to
SKIP
👀 1