Hi Member,
I am working on upload functionality and its working, but I want to show the count of total record which I am able to show but not able to show success and failed count.
Please help me on it.
Thanks in advance.
Hi @Mark Joe,As @Vincent Koning said what process do you try? Directly upload the record in DB or with a timer.If you are trying the sync process, then I have added one, email it will help you.
If you are trying the async process, then you need to store records in the entity and then you can show it.
Hope this will help you.
What exactly are you attempting to do after you have uploaded the document? What process is picking it up? What does it do? Is this a sync or async process?
If sync, what is happening that the output parameters total/failed are not reflecting the correct numbers?
if async, how can the client map the upload session with the process results? And how do you make sure that this is being retrieved until the processing of the data is completed?
Hello Mark,
It seems after uploading the excel you are processing each record and you want to track the results of that processing on all uploaded records. For this you can maintain a temporary counter variable which you will increment for each successfully processed record. After the processing completes this counter variable will give you the count of records processed successfully, subtracting this from total records count gives you the failed records count.
You can even store these counts in your database against uploaded file record for future references.
Hope it helps!
Junaid
Thank for the response, It solved my problem.