Final Report- Even exceptions in middle of execution

Hi All,

I am using flowchart flow, for final report i have created Build data table activity and assigning the status in every transaction but if any unexpected error occurs the whole process will be faulted and fail to create final report.

Could you please provide any ideas, that even my flow fails, it should create the final report.?

@Ajith3 try catch on your flowchart and in the finally block you can generate your report

Hi @Ajith3 ,

Place the main code in a Try-Catch block and you can handle both successful and failed transactions:

Try Block: If the code runs successfully, update the row and append it to the Data Table (DT) as planned.
Catch Block: If an error occurs, the flow will move to the Catch block, where you can add logic to update the row with an error status and append it to the DT. This way, each transaction gets recorded in the report, whether it succeeds or fails

Please find the below images for your reference

Hope it helps you !
Best Regards ,
Vikas M
LinkedIn

@Ajith3,

Aren’t you using REFramework? In this is handled very neatly.

Hi @ashokkarale ,

No, i am using Flowchart for this process. Earlier create Summary report part was in Try block, now i moved to finally block and it is working as expected

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.