Skip to main content
ParameterTypeDefaultDescription
stepsWorkflowStepsRequiredSteps to execute in each loop iteration
nameOptional[str]NoneName of the loop step
descriptionOptional[str]NoneDescription of the loop step
max_iterationsint3Maximum number of iterations for the loop
end_conditionOptional[Union[Callable[[List[StepOutput]], bool], Callable[[List[StepOutput]], Awaitable[bool]]]]NoneFunction to evaluate if the loop should end
requires_confirmationboolFalsePause for user confirmation before starting the loop
confirmation_messageOptional[str]NoneMessage shown to user when requesting confirmation
on_rejectOnRejectOnReject.skipAction when rejected: skip, cancel