Hello! I am working on a process that updates the values on an Excel file onto website using the framework. I am currently getting the following error: Column ‘Open Amount’ does not belong to table DataTable.
The ‘Open Amount’ clearly exists so why am I getting this error? The other column values do not give me this error, only this. I have also read the previous posts similar to this, but I have already tried all the proposed solutions.
I am getting the error on an Assign activity:
Excel_OpenAMT = (in_TransactionItem(“Open Amount”).ToString).Trim
Create a sample sequence with Excel Application Scope ,
Read Range (Uncheck Add Headers) - Keep only this row in the excel.
Use a For Each Row activity and include a Write line within it to print row(9).ToString+“-”+row(10).ToString+“-”+ row(11).ToString and check what is the output.
4 From Step3 you will be able to figure out the issue.
Please run your workflow in Debug mode and check what the in_TransactionItem holds also check the TransactionData to see how the data table looks like.
Extract data seperately one by one column but start element should be first data of the column and last indication should be last data of the column same way you can extract all the column then go to metadata option just replace those name of the column how you required ( column1 replace bye required column name )