Skip to content

Possible to call workflow handler in DSL2 on nested workflow? #1846

@maxbates

Description

@maxbates

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 {
    ...
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions