For each row in data table new version, throwing error

Hello,

I am very new to UiPath and I have been following a course for my new job. The training has me follow an online course, but when completing the training, it seems like the software has updated and does not have the same design as before, the main issue I am having is with the function When using the for Each Row in Data Table. My purpose is to automate the reading of rows in excel to input information into a database. When inputting my data like I would with the previous version, I am receiving this error:

For Each Row in Data Table: Object reference not set to an instance of an object

The data set is about 100 names long.

Any help would be greatly appreciated. Thank you!

Hi @lmanier

Check whether you have the data table variable as output in Read Range Workbook

If you don’t pass the variable in Read Range Workbook you will get this error

Regards

@lmanier

Welcome to the community

As per error the datatable is not initialized or is not having any data…please check the same…looks like you are using loop wihtout any data in customerdata datatable

cheers

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