(1) The table didn’t change. It was scraping from the same link and website.
(2) Shouldn’t I be able to check the amount of rows? somedatable.Rows.Count would return 0 if no table was scraped, right? The table is instantiated when the workflow starts the run.
I deleted the original datatable scrape. Then I scrape the table again, it works, I have rows and columns. But, when I run the process, I receive the same error.
EDIT:
This happens when the process scrapes the data table. So at the action Extract Structured data, the process fails and gives me the error.
IF i delete the workflow. And implement everything again. I don’t receive an error anymore. But, after running the process multiple times the error pops up again.
@r0manred
when you are creating a data Table variable better initiate it with new DataTable() in variables section.
If you are using build datatable then even though if you are not initialised it wont throw exception
I am facing same issue. When I try with a variable by initializing it to new System.Data.DataTable , it works. But the DataTable from this extraction is needed for another process, so I had to use a DT type out argument, in which case I cant initialize it in invoked workflow (because it is out argument)
However, In Main flow (where this DataScrape extraction process is invoked), I assigned the out argument to a separate DT type variable which is initialized as new System.Data.DataTable, still I am getting this error. It seems this never works with arguments then? How can I solve this, I want the table from that webpage to b used in another process.