How to find the Item position in List?

Hi All,

I am reading a excel column using Read Column activity and the output is stored in the List.

Now I need to get the Index of a particular value. How could I do that?

hi @cthamizh

Have you tried this:

list.IndexOf(item);’

where item is the thing to find .

Regards…!!
Aksh

3 Likes

Step 1 : I am reading data from Excel using Read Column and Storing the result in a Variable.
Step 2 : I am trying to use that Variable.IndexOf, but I am not getting Indexof property.

you can share your code or screenshot?

just use the read column output to list_variable(item).

For your reference: list_indexof_example.xaml (7.7 KB)

Regards…!!
Aksh