Help Centre › Building Processes
This article describes the RPA Loop functionality to each record in a list.
For a full list of available functions, please read LOOP functions.
Description
The LOOP Each record in a list function allows you to each record in a list.
Setting it up
To use the LOOP Each record in a list function, follow these instructions:
{{popups:rpas/add:action=loop-record}}
Once on a process map:
- Navigate to the process where you would like to add the LOOP Each record in a list function
- Click on the green button’s drop-down (right side of the green button labelled “Process”)
- On the menu that appears, click on the “+ Activity” item
- From here you can select the LOOP Each record in a list option
- Click "Add" once you are done
Input parameters
| Parameter | Required | Type | Default | Description |
|---|---|---|---|---|
| Variable (source) | Yes | Text | - | Variable containing the data to loop through |
| Variable (current) | Yes | Text | - | Variable to store the current record |
| Max iterations | No | Number | - | Maximum iterations |
Output variables
| Variable | Type | Description |
|---|---|---|
| Variable | Object | The current record in each iteration |
Errors
| Error | Description |
|---|---|
| Empty data | The variable contains no records |
Tips
- Loops through records in a variable (e.g. from data-load or API)