Checkpoint
Creates a save point in the durable workflow. In case of crash, execution resumes from the last checkpoint instead of restarting.
Parameters
| Parameter | Type | Required | Variable | Description |
|---|---|---|---|---|
checkpointId | text | No | No | Unique checkpoint identifier (auto-generated if omitted). |
saveVariables | array | No | No | List of variable names to save at the checkpoint. Enables selective recovery after a crash. |
ttlMinutes | number | No | No | Checkpoint retention duration in minutes. Expires after this delay. |
onRestore | choice (continue, restart) | No | No | Behavior on restore: resume from the checkpoint or restart the workflow. (Default: "continue") |
Tip
Only active in durable mode (Run/Schedule). In test mode, the checkpoint is a no-op. Place it after expensive operations.