Comparing an Array Of Strings with a Datatable: How to get indexOf within a For Each Item

So I’m creating a compare process where I’m comparing an Array of Strings to a DataTable. I’m running into an issue where I’m trying to write the array to excel as I’m reading the Array in a For Each Item loop and unfortunately I’m not able to use the indexOf option. Any help with this would be amazing. Thank you all in advance!

Hi @BotMonkey

If you want to use index in your for each block,
you just need to set a variable in Index option of for each activity,
then you can get index value by it in loop.