Platform actions
Get Index
The Get Index action allows searching in a list for a given object. If the object is found within the list, it returns the index of the object. Ifโฆ
Overview
The Get Index action allows searching in a list for a given object. If the object is found within the list, it returns the index of the object. If the object is not found, it returns -1.

Parameters
Inputs
- input list (
list<object>): The list in which the search will be performed. - input object to be found (
object): The object that is being searched for within the list.
Outputs
- result (
integer): The index of the found object in the list, or -1 if the object is not found.
Important Notes
- It's important to ensure that the input list contains objects of the same type as the input object being searched for.
- If the input list contains duplicate objects, this action will return the index of the first occurrence found in the list.

