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
JJJenkinsJJJenkins 

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.

NiketNiket

Hi ,

 

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

 

http://salesforcesolution.blogspot.com/2011/11/how-to-create-visual-force-page-to.html

 

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



Cheers,

Niket

Certified Developer | Certified Administrator

MyBlog

JJJenkinsJJJenkins

this is great - thank you!

 

I can take this and adjust it for our needs.  

nicole.e.kaufmann1.390509094147687E12nicole.e.kaufmann1.390509094147687E12
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?