Skip to main content

StoredFlowExecution

@forge/monorepo


@forge/monorepo / backend/src / StoredFlowExecution

Type Alias: StoredFlowExecution

StoredFlowExecution = object

Defined in: backend/src/persistence/index.ts:1861

Properties

currentStep

readonly currentStep: string | null

Defined in: backend/src/persistence/index.ts:1867


execution

readonly execution: unknown

Defined in: backend/src/persistence/index.ts:1871

The whole execution document, as the flows layer wrote it.


finishedAt?

readonly optional finishedAt?: string

Defined in: backend/src/persistence/index.ts:1876


flowId

readonly flowId: string

Defined in: backend/src/persistence/index.ts:1863


flowVersion

readonly flowVersion: number

Defined in: backend/src/persistence/index.ts:1864


id

readonly id: string

Defined in: backend/src/persistence/index.ts:1862


runId

readonly runId: RunId

Defined in: backend/src/persistence/index.ts:1865


startedAt

readonly startedAt: string

Defined in: backend/src/persistence/index.ts:1875


status

readonly status: string

Defined in: backend/src/persistence/index.ts:1866


steps

readonly steps: number

Defined in: backend/src/persistence/index.ts:1869

How many steps have completed. The monotonic guard reads this.


waitingRunId?

readonly optional waitingRunId?: RunId

Defined in: backend/src/persistence/index.ts:1874

The child run this execution is parked on — #202. Indexed, because a settled run has to find its parent.


waitingSignal?

readonly optional waitingSignal?: string

Defined in: backend/src/persistence/index.ts:1872