How to store list values

Hello all
can you please tell me how to store the list items in a variable. Since i m trying to find the index values of column in the basis of certain conditions.List returning two values. I want to store “value 1” at one variable and “value 2” to another.

mylist(0) - first list item
mylist(1) - second list item

1 Like

You can store list value in String, int or any another variables just provide the index like Karthik provided.

How to store list values you can use Assign activity as below

if you want to store value to the list then you have to initialize list variable to new using assign,
then use add to Collection activity to add variable values to the list you want to add.

Hi @mhk15,

Refer the below post, to initialise a list and how to store values in a list.