Object reference not set to an instance of an Object - Assignment 2

This is part of Assignment 2 of the Advanced RPA Developer course.
I keep running into this error (Object reference not set to an instance of an object) when I try to use dt outside of “ExtractDataFromBrowser” workflow.
dt is declared as a variable (defaults to New System.Data.DataTable) inside “ExtractDataFromBrowser” workflow and as an output argument as well.
ExtractDataFromBrowser generates the csv file which is sourced from dt.
Problem is when I try to use dt outside of this workflow and I get this error. What am I not doing right?
Screenshot below


Have you assigned that argument value to dt variable or not from ExtractDataFromBrowser workflow ?

Could you please click on Import Arguments and show me screenshot of it.

@lakshman Yes, DataTable is assigned to dt. dt exports the table to out.csv (attached xlsx version).
Attached ExtractDataFromBrowser.xaml as well.
ExtractDataFromBrowser.xaml (7.5 KB)
out.xlsx (12.6 KB)
Here’s a screenshot of the Import Arguments

Ended up using a Write CSV activity and read the data from there into WI5List. Worked just fine.


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