For Each Activity
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. |
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.
Supported Environments
Environments capable of running this activity
Server
|
Client |
||||
Web |
Mobile |
Experience Builder |
Web AppBuilder |
Geocortex Viewer for HTML5 |
|
---|---|---|---|---|---|
|
|
|
|
|
|
Levels of Support: |
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...