I need the UiPath to go to my email inbox and for each sender’s email, the UiPath will then lookup the master list (ExcelAllCases.Sheet1) for the sender’s email and i want it to extract the whole row of data. Finally, I want it to copy and write the extracted info into a new sheet (ExcelAllCases.Sheet2).
I dont see you assigning a value to dt_output…also instead of lookup as you need whole row…use a filter datatable and write the output of it to a different sheet/file
So if the sender email address is (“b@gmail.com”), i want UiPath to go to MasterList which is “Sheet1”, lookup for email address (“b@gmail.com”) and copy the (“Case ID, Contact Name & Case Subject”) on to “Sheet2”.
I have a follow up issue. Now the filter activity only returns one row of data when I have 13 emails in the folder. It did not read and return the other rows of data.
if so you would get 13 rows ideally…if 13 have differnt emails as per your initial requiremnet each time in loop it matches you need new one…if you need all loop values in single sheet then use merge datatable in loop after filter and then after loop write all data at once