Skip to content

Gracefully exit a pipeline or waterfall [discussion] #23

@djensen47

Description

@djensen47

I keep running into a situation where I don't need to continue a pipeline or a waterfall because a certain condition has been met.

One way to handle this is to return an error, which exits. The "problem" is that this is recorded as a failure, which really wasn't the case. Alternatively, I could pass a boolean var done along the pipeline and just skip the function if done.

It seems like there should be a better option to exit gracefully. Maybe a special exception class that causes the exit to not be reported as a failure?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions