Please enable JavaScript to view this site.

Version:

Navigation: Activities > Activity Reference

For Each Activity

Prev Top Next More

Description

The For Each activity is a specialized looping activity that executes the contained activities for each item in a collection.

Usage

You may need to complete the same action on all items in a collection. You could iterate through all the features in a feature set using the For Each activity and the loop could perform a densify geometry operation, using the Densify Geometry activity, to each feature.

Inputs

Exit

Optional

Type: Boolean

Whether or not the loop should break.

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

Items

Optional

Type: any[] | Object

A collection of items to iterate over.

When using VertiGIS Studio Mobile Designer, Workflow Server, or VertiGIS Studio Desktop for ArcGIS Pro, this activity will only work when the object is IEnumberable.

Outputs

key

Type: String

The key of the item currently being processed.

pass

Type: Number

The pass that the loop is on.

item

Type: any

The current item from the items collection.

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 For Each Activity

Exit a Looping Activity

Step Through the Features Returned by a Query

Find a Particular Feature Returned by a Query

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