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
Christine KleinChristine Klein 

Approval Automation

Is it possible to automatically submit a specific approval step in an approval process once an opportunity has reached a certain stage?  I'm new to apex so I'm not even sure where to begin.  I've come across the following article http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_process_example.htm but I'm assuming this only works if you have one approval process per object? I'm not too sure how to loop through the approval processes to pick the one I'm trying to use.
Any help would be greatly appreciated.
Thanks!

Best Answer chosen by Christine Klein
SFDC_DevloperSFDC_Devloper