---
sourceDocument: Australia Workflow Data Fabric
sourceDocumentLink: https://www.servicenow.com/docs/r/australia/integrate-applications

 Release :

    - australia

ft:locale :

    - en-US

ft:publication_title :

    - Australia Workflow Data Fabric

ft:clusterId :

    - crint

bundleId :

    - crint

workflow :

    - Creator


---

# Use the For Loop component

# Use the For Loop component {#ariaid-title1}

Release version: Australia  
Updated March 12, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read  
Execute a code recurrently to perform tasks of repetitive nature with the For Loop
component in the RPA Desktop Design Studio. The For Loop is a control flow component
for specifying iterations.

## Before you begin

Role required: none

## About this task

You can configure the properties for the For Loop component.{#use-loops-forloop__table_v2k_txr_xtb__entry__2}

| Property | Description |
|-|-|
| Delay After Execution | The number of seconds to pause after running. |
| Delay Before Execution | The number of seconds to pause before running. |
| Delay for each execution (Seconds) | Specified delay before each execution. |
| Increment By | Specified number by which the component increments the values. For example, if the number is 2 and the loop is from 1 through 10, then the numbers are 1, 3, 5, and so on. |
| Enable Timeout | Option to set a timeout value. |
| Timeout | Number of seconds that the operation ends after if not completed. To apply this value, you must set the Enable Timeout property. |
[Table 1. Properties of the For Loop component]

{#use-loops-forloop__table_v2k_txr_xtb}

## Procedure

1. In the Toolbox pane, navigate to LoopsFor Loop.
2. Drag the For Loop component to the Design surface.
3. To configure the input fields, see [Configure port properties](https://www.servicenow.com/docs/o6fErdzBCUqYUWlLG1ZZzQ "Configure how data is passed to the input fields of a component or method in RPA Desktop Design Studio.").
4. Connect the data and control ports of the For Loop component to the corresponding ports of the other components as described in the following table.  
   {#use-loops-forloop__table_jnw_jn1_krb__entry__6}

   | Port type | Port name | Data type | Purpose of connection | Default value | Mandatory? |
   |-|-|-|-|-|-|
   | Data In | From | Integer | Takes the starting value of the For Loop counter. | Not applicable | Yes |
   | Data In | To | Integer | Takes the end value of the For Loop counter. | Not applicable | Yes |
   | Data Out | Index | Integer | Passes the current value of the For Loop counter to the next component. | Not applicable | Yes |
   | Control Out | Loop | Not applicable | Passes the iteration to the next component. | Not applicable | Yes |
   [ ]

   {#use-loops-forloop__table_jnw_jn1_krb}
5. **Optional:** To test the component, under the DESIGN tab, click Run.

*[\>]: and then


