> For the complete documentation index, see [llms.txt](https://docs.novacura.com/flow-ifs-cloud-development-guidelines/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.novacura.com/flow-ifs-cloud-development-guidelines/flow-development-with-odata/implementation/iteration.md).

# Iteration

## Flow Iteration

In all operations, except the Read operation, one can use iterator to loop through several rows in one machine step. Notice, this not a BATCH call. The Flow Server will run the same machine step as many times there are rows in iterating table.

### Defining iterator

<figure><img src="https://3323790987-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJyIxKYxK0LMJ2T3XubCS%2Fuploads%2FakLkQfKiZG9wgnhH0xu6%2Fimage.png?alt=media&amp;token=e534d030-92f2-42af-a235-b3f8b44bf9c7" alt=""><figcaption><p>Set Iterator table</p></figcaption></figure>

### Using iterator table variables in Input

After defining iterator table a new variable type Iterator will appear in each input parameter.

<figure><img src="https://3323790987-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJyIxKYxK0LMJ2T3XubCS%2Fuploads%2FmoEIhvoiIvTWcGBQH9ea%2Fimage.png?alt=media&amp;token=6567c4d8-ddd9-4a40-86ce-18d1174986b2" alt=""><figcaption><p>Select Iterator variable type</p></figcaption></figure>

After which only variables from iterator table can be selected to the specified parameter.

<figure><img src="https://3323790987-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJyIxKYxK0LMJ2T3XubCS%2Fuploads%2Fioo1lU5FZcSJwVUCD7f5%2Fimage.png?alt=media&amp;token=fccf630b-5a4e-458c-a876-2776108de500" alt=""><figcaption><p>Select column from iterator table</p></figcaption></figure>

You can use mix of Constants and Variables, Not Set and Iterator variable in Input parameters


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.novacura.com/flow-ifs-cloud-development-guidelines/flow-development-with-odata/implementation/iteration.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
