Loop Activity

Description

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

Offline Support

This activity works when the device is offline.

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.

Version Information

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

See Also...

Use the Loop Activity

Exit a Looping Activity

© 2018 Latitude Geographics Group Ltd. All Rights Reserved.

Documentation Version 5.9