Skip to main content

FlowDefinitionData

@webda/workflow


Interface: FlowDefinitionData

Defined in: packages/workflow/src/graph.ts:380

A FlowDefinition as models and configuration hold it

The statements are recursive: describing them in a JSON schema makes the schema generator explode, so they are plain JSON there. validateExpr checks untrusted expressions.

Extends​

Properties​

body​

body: any[]

Defined in: packages/workflow/src/graph.ts:384

The statements (Stmt[])


id​

id: string

Defined in: packages/workflow/src/graph.ts:343

Operation id <Class>.<Method>

Inherited from​

FlowDefinition.id


input​

input: object

Defined in: packages/workflow/src/graph.ts:355

JSON schema of the input

Inherited from​

FlowDefinition.input


options?​

optional options?: TaskOptions

Defined in: packages/workflow/src/graph.ts:367

Default options of every task

Inherited from​

FlowDefinition.options


output?​

optional output?: object

Defined in: packages/workflow/src/graph.ts:359

JSON schema of the output

Inherited from​

FlowDefinition.output


params​

params: string[]

Defined in: packages/workflow/src/graph.ts:351

Names of the flow parameters, in order

Inherited from​

FlowDefinition.params


source?​

optional source?: "code" | "stored"

Defined in: packages/workflow/src/graph.ts:393

Where the flow comes from

Default​

"code"

version?​

optional version?: string

Defined in: packages/workflow/src/graph.ts:388

flowVersion of the definition, computed when missing