Please enable JavaScript to view this site.

Version:

Navigation: Activities > Activity Reference

Loop Activity

Prev Top Next More

Description

The Loop activity executes the contained activities for each item in a collection.

Inputs

Exit

Optional

Type: Boolean

Whether or not the loop should break.

For information on using the Exit input, see Exit a Looping Activity.

Loop

Optional

Type: Boolean

Whether or not the loop should progress.

Collection

Optional

Type: any[]

A collection of items to iterate over.

Deprecated: Use the For Each activity to iterate over collections instead.

Count

Optional

Type: Number

The lower bound on how many passes the loop should take. The default is 0.

Limit

Optional

Type: Number

The upper bound on how many passes the loop should take. The default is 1000.

Outputs

looping

Type: Boolean

Whether the loop is running or if it has finished.

pass

Type: Number

The pass that the loop is on.

item

Type: any

The item from the collection. This is only available if collection was provided.

Deprecated: Use the For Each activity to iterate over collections instead.

Properties

For information about the ID, Display Name, and Description properties, see Properties Common to all Activities.

Connectivity Requirements

This activity works when the device has intermittent connectivity to the network.

Version Information

Supported from: Geocortex Viewer for HTML5 2.9, ArcGIS Web AppBuilder 2.4.

See also...

Use the Loop Activity

Exit a Looping Activity

© 2024 VertiGIS North America Ltd. All Rights Reserved. | Privacy Center | Imprint
Documentation Version 5.42 (220a4365)