Is it possible to defined workflow.onComplete and workflow.onError on a named workflow?
My use-case is a main workflow with a switch statement that calls nested workflows. I'd like to define the handlers on the nested workflows, i.e. the named ones.
Something like:
workflow my_nested_workflow {
...
}
my_nested_workflow.onComplete {
...
}