Action Data
Get List Item
Retrieves a single item from a list at a specified index.
Node IDGetListItemAction
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
Index index | integer | Yes | 0 | The zero-based index of the item to retrieve. Negative indices wrap from the end (-1 = last item, -2 = second-to-last, etc.). Can be set by a data connection. |
Inputs
| Input | Type | Required | Description |
|---|---|---|---|
Execute input0 | object | Yes | An execution signal that carries the input list. Expects a data object with a 'value' that is a list (array). |
Outputs
| Output | Type | Identifier | Description |
|---|---|---|---|
On Found output0 | object | list_item | Execution path fired if an item is found at the specified index. Carries the retrieved item as data. |
On Not Found output1 | object | <Passing input identifier> | Execution path fired if the index is out of bounds or the input is not a valid list. |