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
Adnan PAdnan P 

Is it possible to submit a record for approval using custom buttons?

Hello,

Does anyone know if it's possible to submit a record for approval using a custom button?  I would like to create three different approval processes where each approval process would have it's own custom submission button.

Each approval process would have the same entry criteria. Depending on which approval button the users clicks that record would be submitted for approval using the approval process tied to that particular custom approval button.

So instead of having just a single "Submit for Approval" button there would be three different buttons that the users could click to kickoff an approval process.

Any feedback would be greatly appreciated.

Thank you!
Best Answer chosen by Adnan P
Sonam_SFDCSonam_SFDC
yes, it is possible to create a custom approval process using the Approval Process classes - check the following thread for a similar question:
https://developer.salesforce.com/forums/ForumsMain?id=906F00000009FUiIAM

All Answers

Sonam_SFDCSonam_SFDC
yes, it is possible to create a custom approval process using the Approval Process classes - check the following thread for a similar question:
https://developer.salesforce.com/forums/ForumsMain?id=906F00000009FUiIAM
This was selected as the best answer
Adnan PAdnan P
Thank you very much for the quick response.  This is very helpful!