Skip to main content

Checkpoint

Creates a save point in the durable workflow. In case of crash, execution resumes from the last checkpoint instead of restarting.

Parameters

ParameterTypeRequiredVariableDescription
checkpointIdtextNoNoUnique checkpoint identifier (auto-generated if omitted).
saveVariablesarrayNoNoList of variable names to save at the checkpoint. Enables selective recovery after a crash.
ttlMinutesnumberNoNoCheckpoint retention duration in minutes. Expires after this delay.
onRestorechoice (continue, restart)NoNoBehavior 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.