Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

workflow step failure handlers #218

Closed
gschueler opened this issue Oct 30, 2012 · 2 comments
Closed

workflow step failure handlers #218

gschueler opened this issue Oct 30, 2012 · 2 comments
Assignees
Milestone

Comments

@gschueler
Copy link
Member

Add a feature allowing workflow steps to have a "failure handler" that will be executed if the step fails.

The handler can be just like a workflow step.

If the original step fails, the handler is executed in its place.

Workflow "keepgoing" flag, and the step handler, must allow recovery behavior:

  • if the "keepgoing" flag is true, normally the step failure would cause the whole job to fail
    • however if the step handler succeeds, continue normally and do not consider it failed
  • In addition, if the "keepgoing" flag is false, normally the job will halt and fail after the step fails
    • Add a new "keepgoingOnSuccess" flag for failure handlers. If this is true, then if the handler succeeds, continue the job normally and do not consider it failed.

Also see #125

@ghost ghost assigned gschueler Oct 30, 2012
gschueler added a commit that referenced this issue Oct 30, 2012
gschueler added a commit that referenced this issue Oct 30, 2012
gschueler added a commit that referenced this issue Oct 30, 2012
gschueler added a commit that referenced this issue Oct 30, 2012
capture and relay node failure reports to listeners correctly when
executing error handler steps for workflows
gschueler added a commit that referenced this issue Oct 30, 2012
and app domain class updates
gschueler added a commit that referenced this issue Oct 30, 2012
@gschueler
Copy link
Member Author

If the Workflow Strategy is "node-first", then Node Steps must have only other Node Steps as error handlers.

In all other cases the Error handlers can be either NodeSteps or WorkflowSteps

@gschueler
Copy link
Member Author

"keepgoing on success" checkbox doesn't work. checkbox value is not saved

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

No branches or pull requests

1 participant