Skip to content

Interface: ForEachWorkflowStep

Makaio Framework


Makaio Framework / contracts / ForEachWorkflowStep

Defined in: ../../../packages/contracts/src/workflow/schemas.ts:270

For-each step variant type. Declared manually ahead of its schema to break the z.lazy circular reference.

  • WorkflowStepBase

collection: string

Defined in: ../../../packages/contracts/src/workflow/schemas.ts:274

jexl expression that resolves to an array.


optional concurrency?: number

Defined in: ../../../packages/contracts/src/workflow/schemas.ts:278

Max concurrent iterations. Omit or 0 for unlimited.


id: string

Defined in: ../../../packages/contracts/src/workflow/schemas.ts:150

Unique step identifier within the workflow.

WorkflowStepBase.id


optional if?: string

Defined in: ../../../packages/contracts/src/workflow/schemas.ts:154

jexl expression evaluated at runtime; falsy skips the step.

WorkflowStepBase.if


optional needs?: string[]

Defined in: ../../../packages/contracts/src/workflow/schemas.ts:152

Step IDs this step depends on (must complete first).

WorkflowStepBase.needs


steps: WorkflowStep[]

Defined in: ../../../packages/contracts/src/workflow/schemas.ts:276

Steps to execute per item. Forms an inner DAG (needs references are local).


type: "for-each"

Defined in: ../../../packages/contracts/src/workflow/schemas.ts:272

Step type discriminant.