The For Each activity is a specialized looping activity that executes the contained activities for each item in a collection.
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.
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. |
Item Type |
Optional Type: String The type of the items supplied to the activity. This can be a known type such as esri.Point or a TypeScript interface such as { id: number; name: string; location: esri.Point; }. This will be used in the Designer to offer suggestions when you use the item output of this activity. |
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. |
For information about the ID, Display Name, and Description properties, see Properties Common to all Activities.
This activity works when the device has intermittent connectivity to the network.
See also...