Second Q: Shouldn't the `on_failure` be called whe...
# flyte-v1-support
f
Second Q: Shouldn't the
on_failure
be called when the sub-workflow is aborted? I'm experiencing the following: Workflow MAIN with 2 sub workflows A, B Workflow A has
on_failure
During execution - system error happens in
A
, it get's
ABORTED
status but the
on_failure
handler does not trigger and has status
Unknown
Is this expected for sub-workflows?
f
Nope it's called on failed only not on abortion
f
I don't understand
f
Ohh man typos
😿 1
f
There should be another
on_abort
or something like that 🤔
f
flyte v2 has all of this and more
🙂
e
@flat-waiter-82487 Could you please check if this issue is related to your question? https://github.com/flyteorg/flyte/issues/6695
f
Partially - we use subworkflows but no
dynamic
but the behaviour is the same