-
Approval Process in Salesforce: Unlock Record BEFORE Field Update
Is it possible to ensure an approval process's final approval/rejection unlocks the record before any of the field updates happen?
Ordinarily it seems like it doesn't especially matter, as field updates are somehow applied despite being locked, but I am running a trigger off those field updates that attempts to delete the record, but cannot because it is still locked.
As a workaround, I'm thinking my trigger can unlock the record before deleting it, but this seems to be a senseless complication.
Surely if there are field update actions, the record has to unlock first?
Log In to reply.
Popular Salesforce Blogs

Salesforce Engage | Propel Customer Engagement with Relevancy
Marketing without customer engagement is nothing more than an on-air commercial that nobody wants to see. Every day the competition is intensifying, and keeping customers…
What are Apex Triggers? | All You Need to Know
Before reading this blog, you must have basic knowledge of Apex Language and SOQL. Apex triggers can invoke apex code and enable you to perform…

9 Best Practices of Salesforce Change Management Methodology
Implementing changes in Salesforce is a strain for an organization. A good change management plan seems hard but to avoid change pain it is good…
Popular Salesforce Videos
Everything New in Salesforce Developer Tools
Your productivity starts and ends with the tools you use. Learn how Salesforce Developer Tooling can help you collaborate more effectively with your whole team.…
Lead Process in Salesforce | How To Manage Leads in Salesforce Sales Cloud?
Leads are potential customers who have expressed interest in your product or service but haven't made a purchase yet. They're like the starting point of…
Introduction to Asynchronous Apex In Salesforce
Here is the first video on Asynchronous Apex where you get a bit idea of why to use and why there is a need for…