Iterate List Action

This action iterates through a Collection object in the Shared Properties collection.  Some actions, such as the Find Files action and the Find Services by Assembly Name actions, populate a collection that can be iterated by this action.  Collections can also be added to the Shared Properties collection using Custom Actions or the CSharp VB.Net Code Action.  Any generic IList<object> collection can be iterated.

 

To iterate a collection, an Action List and a Shared Property to hold the current object is configured.  The designated action list will be called once for each object in the collection.

 

Iterate Action List Action Editor

 

Action Description - Descriptive text that can be used to identify this particular action in the Actions list.

 

List to Iterate - A collection in the context's Shared Properties collection that derives from IList<object>.

 

Shared Property for Current Value - A Shared Property value that will be created to hold the current item in the collection being iterated.  WIth each iteration, this shared property is re-populated with the current object from the collection.

 

Action List to Run - A named action list in AppLife Project that will be called once for each object in the collection being itereated.