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
m pandeym pandey 

Can Any one explain with example of code using custom objects Approval Process using apex & Visual force page

Can Any one explain with example of code using custom objects Approval Process using apex & Visual force page

Fields:-
name
Quantity
Amount 
manager 
status inprogresss,submiitted ,approved rejected 
 After Save in the record(vf page)
status -inprogress

he has to get submit for approval(vf page)
after submitted status submited

after subitted manager has to approve or reject 

Please reply or post its has submit for client
LBKLBK
No offense, but have you tried Process Builder?

This use case seems to be a perfect scenario for a Process Builder based solution.