I’m extracting a datatable from a table in Edge. The data includes 1 or multiple error message(s). I would like to email the error messages to notice other people that there was en error. But, it looks like it’s handling row 1 as the header. Not a big problem if I there would be only 1 error per item processed, but sometimes it includes multiple different errors. This results in different formatting for the 2 errors (look at the image down below).
How do I add a header to it? So that all the others rows get the same format.
make sure you add a header in datatable itself…one way you can do is always use a add data row activity first and add the column name as value and thenc hange the column ame to error or anything you need
add data row to dt and arrayrow as {dt.Columns(0).ColumnName}
we encountered a bug in the HTML template editors (e.g. Create HTML Content) where the heade line was lost. In a lot of scenarios the following workaround will serve:
Add a new Row at the first position and use the header names as values
Thank you. I used two assigns, one for the new row, one for the new column header e.g. name of the row. Then I used the invoke method to invoke it at row 0.