I need to generate a summary report after completion of the all transaction.
for example if there are 20 queue items , after completion of all the transaction, bot needs to generate the summary report like:
Date Start time(of each transaction) End time(of each transaction) Result (Successful/ system exception/Business exception).
the status should be depends on the result of the each transaction whether its successful or system exception or business exception.
In the orchestrator Logs you find the the details,If you want you can download the reports using Export,It will download the file in .csv format.The log contains all details about start time,End time,Exceptions and so on
Build a datatable to store all the transaction items data in Init First time run. Here I have repurposed the the predefined dt_TransactionData variable available in ReFramework Template.
Now Datatable to store transaction details is ready, lets add logic to add transaction details. We will be using 3 Add Data Row activity to add the transaction data.
A. Success:
Process Transaction State here
Now for every transaction we will get the data in dt_TransactionData. Now lets write it to Excel file suppose. Use Write Range workbook activity in End Process state.
I am already using the datatable output dt_TransactionData(after reading the input).
Where exactly I need to place the add data row for success,SE, BE can you please send the screenshot as in my company I cant download the zip file or any xmal
If I want to mention the exception reason, how can we achieve that:
For example: if the mobile number is less than 10 digits bot should the BE with the reason Phone number is not valid because it doesn’t contains 10 digits.
for system exception : if any selectors issue comes