Suspend If defined, at the end of the step, the flow will be suspended until it receives external requests to be resumed or canceled. This is most useful to implement approval steps but can be used flexibly for other purpose. To get the resume urls, use `wmill.getResumeEndpoints`.

{ if (isSuspendEnabled && flowModule.suspend != undefined) { flowModule.suspend = undefined } else { flowModule.suspend = { required_events: 1, timeout: 1800 } } }} options={{ right: 'Suspend flow execution until approvals received' }} />
Number of approvals required for resuming flow {#if flowModule.suspend} {:else} {/if} Timeout (in seconds) {#if flowModule.suspend} {:else} {/if}

Sleep If defined, at the end of the step, the flow will sleep for a number of seconds before being resumed. Sleeping is passive and does not consume any resources.

{ if (isSleepEnabled && flowModule.sleep != undefined) { flowModule.sleep = undefined } else { flowModule.sleep = { type: 'static', value: 0 } } }} options={{ right: 'Sleep after module successful execution' }} />
Sleep for duration (seconds) {#if flowModule.sleep && schema.properties['sleep']}
{ editor?.insertAtCursor(detail) }} >
{:else} {/if}