function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Show records processed in batch apex on a VFPage

I want to display a list of records processed out of a batch process on a Visuaforce page.
I tried the option given in below link

but its not working for me.
Any help highly appreciated.
Carolina Ruiz MedinaCarolina Ruiz Medina
Hi NSingh, 
What could be happening is that the batch process is taking long time to finish if you need to process a large amount of data. 
Batch is an asynchronous process, therefore what is sugesting the other post is to implement a polling system to keep checking if the bath has finished in order to render the results. 
you could try to check the batch jobs and see if the process that you have ran is still active, if it has any errors... (Setup--> Monitor--> Jobs --> Apex Jobs) 

Hope it helps.