I have a workflow set up, where it reads 4 excel sheets into different datatables, assigns them each a name with .TableName, and I have an array of these 4 datatable variables.
What I want to do, is to loop through every datatable, and invoke another workflow. In that workflow, I need to use the name of the current datatable, and that does not seem to work and I get an error that the referense is not set.
An example is below, where I try to call the TableName from the current datatable, and just put it into a message box, before moving on to the Workflow (the TypeArguement of “ForLoop” is set as a datatable):
Not sure if I will have issues in the workflow as well. In the second workflow I have an “In” Argument set up, called “table” like in the loop, and the values are set up in the “Import Arguments” screen as well, with the argument value being “table”.
What should I do to avoid this?