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
dgdeyo09dgdeyo09 

Approval Process after edit?

Ive defined an approval process and I want to start it after a record is edited. Does this have to be done with a trigger? and if so, how would this be done?

sandeep@Salesforcesandeep@Salesforce

There are two way of launching Approval process.

1. Clicking on submit for approval button on record. 

2. From apex code you can do here as your gets edited/Updated you can initiate process instance for that record.