Skip to content

Bedrock Agent  >  Structures  >  LoopControllerFlowNodeConfiguration

LoopControllerFlowNodeConfiguration

Structure Class

LoopControllerFlowNodeConfiguration dataclass

Contains configurations for the controller node of a DoWhile loop in the flow.

Attributes

continue_condition instance-attribute
continue_condition: FlowCondition

Specifies the condition that determines when the flow exits the DoWhile loop. The loop executes until this condition evaluates to true.

max_iterations class-attribute instance-attribute
max_iterations: int = 10

Specifies the maximum number of times the DoWhile loop can iterate before the flow exits the loop.