Skip to main content

Interface: RunCreateAnnotation

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

Annotation to attach at run-creation time.

Properties​

actor?​

readonly optional actor?: AnnotationActor

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


attributes​

readonly attributes: Record<string, unknown>

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


emitEvent?​

readonly optional emitEvent?: boolean

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

If true, the engine writes an annotation:created outbox event for each attribute in this batch, in the same transaction as the run creation. Off by default.


idempotencyKey?​

readonly optional idempotencyKey?: string

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


payload?​

readonly optional payload?: Record<string, unknown>

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