Hi,
I am trying to output some data into an excel. When I run the workflow it reads a word doc, I regex the parts I need. I assign the enumerable/s to a variable. I create a datatable and have column headers. All good up to here. I can see the debugging providing the correct variables where needed.
I then run the For Each
ForEach ‘item’ in ‘Variable’
BODY
Add Data Row, ArrayRow: {Variable(0),Variable(1)}
Datatable: datatable name
when I step into, it does ForEach it writes the correct data, then I step into again and it writes the output again.
Viewing an excel and output data table, show to double entry
UiPath output
The issue definaltey is in the ForEach, have I not used this function correctly?
Excel output
ForEach Settings
AddDataRow Settings