Can anyone help me out to resolve in getting the headers content into mail body eventhough I have added into ‘DataTableToHtmlData’.
Because I am using REFramework without queue so in_TransactionItem.Specific Content(" Excel Column Header").toString won’t work as I change the transaction Item to DataRow from queue.
But I am understanding what variable should I use while using ‘Add Data Row’
I have invoked ‘DataTabletoHTML’ activity into Main and since it is loop data so have put build data table outside the loop and add data row inside it with Filter data table which will only send the error data into mail and not the successfully uploaded data, but still in mail it is not printing.
Can anyone share your email id or teams so that I can connect personally?
@pooja_prasad1 ,
Can you check if your datatable is getting populated by add data row activity
Put a Breakpoint and check the datatable contents in watch panel
I am getting error like ‘Add Data Row: Input array is longer than the number of columns in this table.’ so I tried to add ‘CurrentRow.ItemArray’. But the problem is like I want to filter put only those rows which has error in Status column.
@pooja_prasad1, Can you share your add data row and build datatable activity screenshot
Check if the Column name and Column type of the columns are same as your data
Also what you can do/check is after adding the rows ,->outside of the loop Filter the data table based on status column(Check if the cases of the words are similar with what you give the condition)
Also after filtering check if the datatablevariable.Row.count > 0
Send mail only if the row count is greater than 0
Headers in Build Datatable and Add Data row is same, only thing is I kept it inside for each datatable loop so that it can put alll content, but it only putting header and no content inside that havind data with error status.