The "List Iterate" node provides a loop mechanism to iterate over each element within a list. It receives a list as input and sequentially outputs each element and its corresponding index. The node is essential for workflows that require processing or examining each item in a collection. It automatically triggers the execution of connected nodes for each item in the list and then proceeds to the next operation once the entire list has been processed.
Name | Type | Description |
---|---|---|
List | IList | An input slot for the list to be iterated over. |
Body | OverExecutionFlowData | An execution output that triggers the connected nodes for each iteration over the list. |
Current Index | int | An output slot that provides the index of the current element being processed in the list. |
Current Element | object | An output slot that provides the current element from the list being processed. |