Loop through list content

Updated at:

1. Component introduction

Note

Prerequisites: None.

Use this component to loop through the items in a list.

2. Inputs

Note

For more information about each input, see the descriptions in the component panel of the application flow editor.

3. Outputs

Note

For more information about each output, see the descriptions in the component panel of the application flow editor.

4. Component usage example

4.1. Configuration example

  1. In the Loop List field, select the target list variable from the drop-down list.

  2. Keep the default settings for the advanced options.

4.2. Example execution result

None.

5. Example flow

Build the flow

  1. Use the Set Variable Value component to set the value of the list variable.

  2. Use the Loop Through List Content component to loop through the items in the list.

  3. Use the Record Log component to record the value of each item for each iteration.

image

Execution result

After the flow runs successfully, the list items are printed to the log panel. The following figure shows the output.