Table of Contents

Class LoopStepMetadata

Namespace
FlowOrchestrator.Core.Abstractions
Assembly
FlowOrchestrator.Core.dll

Step metadata for a foreach loop that iterates over a collection and executes nested Steps for each item.

public sealed class LoopStepMetadata : StepMetadata, IScopedStep
Inheritance
LoopStepMetadata
Implements
Inherited Members

Properties

ConcurrencyLimit

Maximum number of iterations that may run in parallel. Defaults to 1 (sequential). Set higher for parallel fan-out.

public int ConcurrencyLimit { get; set; }

Property Value

int

ForEach

The collection to iterate over. Can be a static array or a runtime expression (e.g. "@triggerBody()?.items") resolved against the execution context.

public object? ForEach { get; set; }

Property Value

object

Steps

Steps to execute for each item in ForEach.

public StepCollection Steps { get; set; }

Property Value

StepCollection