LOOP Each record in a list function

The LOOP Each record in a list function in RPA.

Help CentreBuilding 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:

  1. Navigate to the process where you would like to add the LOOP Each record in a list function
  2. Click on the green button’s drop-down (right side of the green button labelled “Process”)
  3. On the menu that appears, click on the “+ Activity” item
  4. From here you can select the LOOP Each record in a list option
  5. Click "Add" once you are done

Input parameters

ParameterRequiredTypeDefaultDescription
Variable (source)YesText-Variable containing the data to loop through
Variable (current)YesText-Variable to store the current record
Max iterationsNoNumber-Maximum iterations

Output variables

VariableTypeDescription
VariableObjectThe current record in each iteration

Errors

ErrorDescription
Empty dataThe variable contains no records

Tips

  • Loops through records in a variable (e.g. from data-load or API)

Related functions

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or go live in 7 days.