Run whatever behaviour needs to be run for the given step.
Run whatever behaviour needs to be run for the given step. There is a recommended strategy for writing these things: see https://github.com/bazaarvoice/super-simple-workflow/blob/master/README.md#writing-steps
The action to take next
The input to the workflow
The input to this particular step
A function to call to report liveness and progress. Response true
if cancellation is requested.
The outcome of the execution.
A hook that gets called when the workflow fails.
A hook that gets called when the workflow fails. Use this for example to send a notification with an explanation of what happened.
The workflow input
The history of what happened in the workflow execution.
A summary of the failure. This is what we also send to SWF as the workflow "result".
A hook that gets called when the workflow completes successfully.
A hook that gets called when the workflow completes successfully. Use this for example to send a notification that the workflow is complete.
The workflow input
The history of what happened in the workflow execution.
A description of the workflow result. This is what we also send to SWF as the workflow "result".
Simply return a list of the workflow steps to execute.
Simply return a list of the workflow steps to execute.
The input to the workflow
This is where you specify how the workflow executes.
The JVM object representing your workflow input.
The enum containing workflow step definitions