I have had this error earlier this week, see: Column does not belong to table - but writing the table shows it does? The problem in my previous post was mysteriously resolved by re-writing the data table name (perhaps it was written in wrong in the first place).
This is the same project, but a different part of my workflows. I am getting an error that the column name does not belong to the table. I am bringing in the Data Table and the index column as arguments. (in_firstDataTable, and in_firstDTIndexColumn, respectively.) I am trying to show in these log messages that if i get the column name by index, it matches the argument that i am asking it to retrieve from the table.
Here are screenshots of my code:
The specified index column is the 3rd column in the table (2nd index). As you can see in the first log message box. Then I am writing the argument value in the second message. Then the third message results in this:
Copied lines of results (to show there are no extra spaces).
Line 1: Emp No
Line 2: Emp No
Line 3: Exception Occured during Process Column ‘Emp No’ does not belong to table . Source Invoke addDataForUpdatedReport workflow: Log message