Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.maia.ai/llms.txt

Use this file to discover all available pages before exploring further.

The Fixed Iterator orchestration component lets you loop over values of a simple sequence. This component implements a simple loop over rows of fixed data values. It enables you to run an attached component multiple times, each time with different values set on any number of variables. Those variables can be referenced from the attached component. To attach the iterator to another component, use the connection ring beneath the iterator to connect to the input of the other component. The two components will automatically “snap” together, with the iterator component sitting on top of the other component, and can be dragged around the canvas as a single component. For more information about attaching, stacking, and detaching iterators, read Attaching, stacking, and detaching iterators. If you need to iterate more than one component, put them into a separate orchestration pipeline or transformation pipeline and use a Run Transformation or Run Orchestration component attached to the iterator. In this way, you can run an entire pipeline flow multiple times, once for each row of variable values. This iterator component is limited to a maximum of 5000 iterations.

Properties

Name
string
required
A human-readable name for the component.
Concurrency
drop-down
required
  • Concurrent: Iterations are run concurrently.
  • Sequential: Iterations are run in sequence, waiting for each to complete before starting the next. This is the default setting.
Full SaaS deployments are limited to 20 concurrent tasks, with additional tasks being queued. Hybrid SaaS deployments have 20 concurrent tasks per instance, with a maximum of 100 instances if configured accordingly.
Variables to Iterate
dual listbox
required
Select the variables that will be iterated. Move a variable from the left column to the right column to select it. Any number of variables can be iterated.
Iterations Values
column editor
required
Opens the Iteration Values dialog, which has one column for each variable selected in the Variables to Iterate property.For each variable, add as many values as required, one per row. For example, if you have a text variable “City” with three values “London”, “Paris” and “New York”, the Fixed Iterator will run the attached component three times, once with the “City” variable set to “London”, again with it set to “Paris”, and finally with it set to New York”.
Break on Failure
drop-down
required
  • No: Attempt to run the attached component for each iteration, regardless of success or failure. This is the default setting.
  • Yes: If the attached component does not run successfully, fail immediately.
If a failure occurs during any iteration, the failure link is followed. This parameter controls whether it is followed immediately or after all iterations have been attempted.This property is only available when Concurrency is set to Sequential. When set to Concurrent, all iterations will be attempted.
Stop on Condition
drop-down
required
Select Yes to stop the iteration based on a condition specified in the Condition property. The default setting is No.For this property to be available, set Concurrency to Sequential.
Condition
expression editor
Click the gear icon to open the Condition dialog. Use + and - to add or remove conditions. Each condition has the following columns:Input Variable: An input variable to form a condition around.Qualifier: Select whether the condition should be applied (Is, the default) or reversed (Not).Comparator: Select from:
  • Less than: Value of the input variable must be less than the specified value.
  • Less than or equal to: Value of the input variable must be less than or equal to the specified value.
  • Equal to: Value of the input variable must be equal to the specified value.
  • Greater than or equal to: Value of the input variable must be greater than or equal to the specified value.
  • Greater than: Value of the input variable must be greater than the specified value.
  • Blank: Checks whether the input variable is empty.
Value: The value to compare against.Toggle Text mode to write the condition manually as a JavaScript expression instead.Toggle Use Grid Variable to use a grid variable to define the condition.
Combine Conditions
drop-down
When multiple conditions are present, they can be separated by And or Or.
  • And: All the conditions must be true.
  • Or: Any of the conditions must be true.
This property is only available when Stop on condition is set to Yes.

Counting the number of iterations

If your iteration values are sourced from a grid variable, you can determine the iteration count using the same method as the Grid Iterator. Use an Update Scalar component to set a numeric pipeline variable to ${<grid_variable_name>.<column_name>.length}.