Interface: ForEachWorkflowStep
Makaio Framework / contracts / ForEachWorkflowStep
Interface: ForEachWorkflowStep
Section titled “Interface: 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.
Extends
Section titled “Extends”WorkflowStepBase
Properties
Section titled “Properties”collection
Section titled “collection”collection:
string
Defined in: ../../../packages/contracts/src/workflow/schemas.ts:274
jexl expression that resolves to an array.
concurrency?
Section titled “concurrency?”
optionalconcurrency?: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.
Inherited from
Section titled “Inherited from”WorkflowStepBase.id
optionalif?:string
Defined in: ../../../packages/contracts/src/workflow/schemas.ts:154
jexl expression evaluated at runtime; falsy skips the step.
Inherited from
Section titled “Inherited from”WorkflowStepBase.if
needs?
Section titled “needs?”
optionalneeds?:string[]
Defined in: ../../../packages/contracts/src/workflow/schemas.ts:152
Step IDs this step depends on (must complete first).
Inherited from
Section titled “Inherited from”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.