Locking records in Salesforce Posted by Daryl Moon on April 29, 2017 in Salesforce Administrator A great article on 7 different ways you can lock records in Salesforce from #sfdcFanBoy for #salesforceadmns
2 comments on “Locking records in Salesforce” Mike Moore says: August 4, 2018 at 4:10 am To use the Apex lock and unlock records, do you first have to enable Approval Workflow for the object? Reply Daryl Moon says: August 6, 2018 at 7:54 pm 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 Reply Leave a Reply Cancel replyYour email address will not be published. Required fields are marked *Comment Name * Email * Website Save my name, email, and website in this browser for the next time I comment.
To use the Apex lock and unlock records, do you first have to enable Approval Workflow for the object?