Foreachrow in a dataTable does not loop to the next row, stays relooping to same first row

I’m using the “For Each Row” Activity in Data Studio. AssetData has 3 rows with 3 columns I need to use as I navigate two screens for each row.

I already confirmed AssetData is capturing the 3 rows by writing it to an output file.

As the execution occurs, the same first row is used 3 times.

What am I missing here?



problem is in the syntax, AssetData.Rows(0)—>that means always the first row,.

You are using loop so you should write like this:
row.item(“Column Name”).toString

It worked. Thank you!

1 Like

Glad, Please mark the solution and close the thread. :wink: :grinning: Thanks,

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.