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

Stop approval email notification while send a record for approval from Apex class


I have a requirement that need to send a record for approval from apex class without email notiifcation. But it need to send email from standard "Send for Approval" button. Please help me on this.
Andy BoettcherAndy Boettcher
You would just modify the Approval Process Steps that meet the criteria of the record you're submitting.  You cannot suppress the steps within the configured Approval Process via Apex.