LOOP Number of times function

The LOOP Number of times function in RPA.

Help CentreBuilding Processes

This article describes the RPA Loop functionality to number of times.

For a full list of available functions, please read LOOP functions.


Description

The LOOP Number of times function allows you to number of times.


Setting it up

To use the LOOP Number of times function, follow these instructions:

{{popups:rpas/add:action=loop-times}}

Once on a process map:

  1. Navigate to the process where you would like to add the LOOP Number of times 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 Number of times option
  5. Click "Add" once you are done

Input parameters

ParameterRequiredTypeDefaultDescription
IterationsYesText5Number of times to repeat the loop.
VariableYesTextLoop counter variable name.

Output variables

VariableTypeDescription
VariableNumberCurrent iteration number (starting from 1).

Tips

  • Use this for retry logic – loop 3 times and break on success.
  • The variable can be used as a counter inside the loop.

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.