Loop, datatable

Hello There,

I have a task where I have to extract data from a web page corresponding to a list of keywords. The data is in form of table. What I am doing is I am iterating the keyword list and for each Item, extracting the data in a data table, which I am saving in an excel file, using UiPath. Now the problem I am facing is, for first iteration data is being captured in the data table, but for remaining iterations data table is not being updated by new values. I understand that once the loop is complete my Data table should get empty. But, I am unable to do so.
Help me.


Hi, we would need to see your flow, but maybe you have your variables in the wrong scope and it is getting override…


Thanks for your reply. It was exactly the reason. :slight_smile: