Skip to content

error handling #37

Description

@tetron

Want a way to specify that step failure isn't fatal for the workflow.

Proposal

steps:
  step1:
    onError: fail

Possible values of onError

  • fail - existing behavior
  • nullOut - output parameters are all 'null'
  • retry - run step again

Discussion points:

  • do we want a way to indicate error condition separately from producing 'null' ?
  • if we include 'retry' should it (a) include a way to decide whether to retry or not (b) should there be a way to limit the number of retries (maybe this should be done with loops instead?)

Related:

Make successCodes, temporaryFailCodes and permanentFailCodes accept ranges in the form of "1-10"

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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