Get Value by Index
Last updated
Was this helpful?
Last updated
Was this helpful?
This ‘Get Value by Index’ is a pre-built Action located under the Captured Dropdown Element, instructs the Avo Assure to fetch the value from a dropdown based on the index number of an item specified in the Input Value and save the result in dynamic variable.
Input Value: <Index>
<Index>
(Required)
Numerical index of the value to retrieve from the dropdown
Note
Only numerical values are allowed in input.
The index starts with 0, which will be the first value from the list.
Output Value
<Dynamic Variable> (Required)
This dynamic variable holds fetched value from dropdown/list
<Dynamic Variable> (Optional)
This variable holds the status True or False
Example
Retrieves a specific value from a list using the provided index position
The Get Value by Index action takes the value from the Input Value column (e.g., 4) and retrieves the item located at the specified index within a list. The result of the retrieval operation is stored in the {Value} variable, while the execution status is stored in the {Status} variable, with the following possible values:
True – if the value is retrieved successfully.
False – if retrieval fails or an error occurs.