4 answers
Thanks James!It's worked for me, I've created batch and executed as a 5 per execution.Now, I just call the batch class through the command button from one of my VF page and it should return the SUCCESS/ERROR files.I used SaveResult[] instead of normal DML to get all the record success in the batch class. Unfortunately I am unable to fetch the values in my VF page where the batch class invoked. Tried to use batch class as a Extension, but I am not sure how to do achieve this.If we do via any argument passing can we have all the values in the SaveResult[] array or the last batch 5 (batch size =5) will store in the array.Looking for the possibilities and best practices to acheive this.