in a RE framework when we create Report related to Business Exception and Application Exception
Can we also create Summary Report in same spreadsheet which contains
Total Number of Business Exceptions - X
Total NUmber of Appliction Excepton - Y
Total NUmber of Successfull data - Z
How can we build logic regarding this
Sorry, i know i am sounding foolish to ask
Yes, We can do it .
Considering you are using default Template of REFramework provided by UiPath,
Create a excel file with all fields required for you case consider
Total Number of Business Exceptions 0
Total NUmber of Appliction Excepton 0
Total NUmber of Successfull data 0
Where A Column of Excel file hold description and B Column holds count.
Now in,
In SetTransactionData WorkFlow,
Case of Success=> (After setting transaction status sucessful) Read the value of cell āB3ā > Convert it to int and then increment its count by 1, again use write cell activity with new value in cell āB3ā
Case of Business Exception => (After setting transaction status Failed due to business Exception) do the same for cell āB1ā.
Case of Application Exception => (After setting transaction status Failed due to Application Exception) Note: Make sure you increment for this case once all retry options are completed.
Please feel free to ask more details if required, Needed i can build you a .xmal file for it.
Please find project in .zip file
I have used Assign activity to set Exceptions.
Please let me know if more details are required. TransactionLogs_in_Excel.zip (17.7 KB)