Hi! I am working on Level 3 - Advanced Training Calculate Client Security Hash assignment and I am receiving this error 1 ‘Object reference not set to an instance of an object’ while assigning the WIList.
As a side note, while running the process in Orchestrator, I am seeing this error 2, which may be related to the first: message: System error at initialization: Object reference not set to an instance of an object. at Source: Anonymously Hosted DynamicMethods Assembly
Steps:
From the list of work items, extract only the items needed in the current process - those of the WI5 type, with the status set to “Open”. Use the DataTable.Select method to filter out the elements that do not
match the criteria above. Assign the result to a new variable.
For others: the problem was that the ExtractDataTable was empty after invoking the Extract Data Table workflow. My steps below:
First I repeated data scraping to determine extracting the data from the table was correct
I displayed the output table to ensure the data was correct. (Output Data Table and Write Line) 3. Assign the out argument to the output data table variable (generated from data scraping) Think this was the issue
Re-invoke the Extract Data Table workflow and imported arguments. Ensure that the ExtractDataTable has a default of New System.Data.DataTable