April 29, 2017
Locking records in Salesforce
A great article on 7 different ways you can lock records in Salesforce from #sfdcFanBoy for #salesforceadmns
To use the Apex lock and unlock records, do you first have to enable Approval Workflow for the object?
Hi Mike, it does not appear that you would need to have an approval process to lock records with Apex as this example here shows:
https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/langCon_apex_locking_statements.htm