Skip to main content

Interface: RunRerunFromCommand

Defined in: packages/workflow-engine/src/kernel/commands.ts:144

Reruns a workflow from a specific stage, replacing the stage records at and after that point.

Deprecated​

Use run.redrive, which covers this (from: { kind: "stage" }) plus retry-from-the-last-failure and restart-from-the-beginning, and can move the run onto a different definition version. run.rerunFrom is kept working and now shares run.redrive's behaviour, including preserving the superseded attempt.

Properties​

fromStageId​

readonly fromStageId: string

Defined in: packages/workflow-engine/src/kernel/commands.ts:147


idempotencyKey?​

readonly optional idempotencyKey?: string

Defined in: packages/workflow-engine/src/kernel/commands.ts:149

Optional idempotency key — a replayed call returns the cached result.


type​

readonly type: "run.rerunFrom"

Defined in: packages/workflow-engine/src/kernel/commands.ts:145


workflowRunId​

readonly workflowRunId: string

Defined in: packages/workflow-engine/src/kernel/commands.ts:146