General
Workflow State
Control workflow state (stop, restart, throw error)
Block type: workflow-state

Inputs
| Name | Type | Default | Description |
|---|---|---|---|
disableBlock | boolean | false | Disable this block |
description | string | — | Node description |
type | select | stop-current | Action type Example: stop-currentstop-allrestartthrow-error |
throwError | boolean | false | Throw error instead of stop |
errorMessage | string | — | Error message |
exceptCurrent | boolean | false | Stop all except current |
maxRestarts | number | 3 | Max restarts (restart action) |
Outputs
actionstringThe state action that ran
shouldStopstringTrue when the run stops after this block