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

Mass Approve Button on List View

I'm trying to create an approve button that I can put on a list view where multiple records can be selected to be approved or rejected.


I was going to create two seperate buttons for this.  One for Approve Selected and another Reject Selected.


The button, I believe, needs to call a VF page that invokes a class.  Has anyone done this or have any insight?


I've only done java buttons that have actions before and I'm stuck on how to get started.  I've done VF and classes but not sure how to call an approval process.


Hi ,


Please visit my blog and let know if this answers your requirement.


Please mark it as the solution if it answers your question.



Certified Developer | Certified Administrator



this is great - thank you!


I can take this and adjust it for our needs.  

Niket - your solution allows for mass SUBMISSION of items for approval, right? I believe the original request (and what I need as well) was asking for a way to mass APPROVE items that have already been submitted for approval. Have you seen/done that?