How to check extract data table is empty

Hi,

I am scrapping data and performing actions in for each loop with respect to data table which i scrapped.
But even there is only 2 data loop is not stopping after excution.
How can i stop loop after data from extractdata table will get finish.
what condition should i give to stop before putting break?
1
Kindly help me to solve this.

1 Like

Hi @Mathkar_kunal

I think in for each row it will iterate through the datatable until the last row.

Can u check the no of rows in datatable?

2 Likes

actually the issue is my scrapped data is not working proprly .when i am testing as saperate workflow it is working but in my script sequence it is misbehaving taking more data (same data multiple times) and running in loop

Thanks worked and i have put one if condition too to check by counting no of rows

U can try this

datatablevaraible.Rows.Count<>0

1 Like

Yes,sure

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