Hi, I am trying to create an automation where it multiplies numbers from the first column (xVar) and second (yVar), displaying the result in the Results column. However, I keep getting the error Object reference not set to an instance of an object in the foreach step. I did create a datatable “temp” I’m not able to figure what the issue and I tried many things.
Foreach “row” in “temp”. Appreciate any help.
Check whether data table is having data or not. You can do that by logging dt.Rows.Count.
@tdev Check whether you have assign output to datatable or not in Build datatable activity and also check for data in build datatable activity.