Step Status
The step status enum represents the various states that a step can be in during its lifecycle within a process.
Enum Values
Status | Description | Complete for Next Task | Failed |
---|---|---|---|
PENDING | The step is awaiting scheduling. | No | No |
SCHEDULED | The step has been scheduled and is queued for execution. | No | No |
RUNNING | The step is currently being executed. | No | No |
PAUSED | The step execution has been temporarily paused. | No | No |
COMPLETED | The step has successfully completed its execution. | Yes | No |
FAILED | The step has encountered an error and failed to complete. | No, Yes if step is optional | Yes |
TIMED_OUT | The step did not complete within the allotted time and timed out. | No | Yes |
SKIPPED | The step was skipped and not executed. | Yes | No |
CANCELLED | The step was cancelled before completion, usually when the process is canceled or terminated | No | Yes |