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
OnDem DevOnDem Dev 

How can a record be unlocked in the Approval process using Apex?



I used Apex code to initiate the Approval Process.

Once the record is submitted, the record gets locked.

I want to update the record now, but it does not allow doing that rather throws an exception ENTITY_IS_LOCKED, the entity is locked for editing.




Message Edited by OnDem Dev on 10-02-2009 09:51 AM