Get Multiple Values by Indexes
Last updated
Was this helpful?
Last updated
Was this helpful?
This ‘Get Multiple Values by Indexes’ is a pre-built Action located under the List Captured List Element, instructs the Avo Assure to get multiple values from the list based on the input values and save the result in dynamic variable.
Input Value: <Index1>;<Index2>;...etc.
<Index1>; <Index2>;...etc. (Required)
Specify the index positions from which the values should be retrieved.
Note: In the above syntax, Index1 starts with 0, which means 0 is considered the first index.
Output Value
<Dynamic Variable> (Required)
This dynamic variable stores the fetched values.
<Dynamic Variable> (Optional)
This dynamic variable holds the status as True or False
Example
Retrieves multiple values from a list based on the specified index positions
The Get Multiple Value by Indexes action takes the value from the Input Value column (e.g., 2;3) and fetches the values from the specified indexes in the target list element. The result of the fetch operation is stored in the {ListValues} variable, while the execution status is stored in the {Status} variable, with the following possible values:
True – if all values are retrieved successfully.
False – if retrieval fails or an error occurs.