I built my process using the ReFramework, and exception messages are caught in the try catch.
How do I create an excel file with 4 columns: First Name, Last Name, Age, Exception Reason, and then at the end of each work item from my queue, it will add the relevant information from each item? How do i add new lines, so that after each item, it is added into the same excel sheet but 1 row under (not overridding the information previously there or on the same line)?
Create a datatable with all your required fields i.e. fn ln etc.
In the finally block of your code, you can use the excel scope and write into the excel file using the data table.
Check if the excel is empty before dumping the data. if its empty you can use write range else use append range which will append to your previous data.
Please checkout the finally block in the attached workflow. Also you can checkout other stuff you can add to your error reporting. Let me know if you have any questions.