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

SOQL query for approval process locked records



Can anyone help?  I've had approval procs in place for some months that locks records.  This is all well and good.  however I've got 8 years worth of records that never went through the approval process that consequently aren't locked.


So, what I'm after is coming up with a list of all closed won opportunities that aren't currently locked.  I've not been able to find a simple answer to this.


Anyone got any ideas?


Thanks in advance.


What makes a record locked?


The record lock is not acceesable at this time. 


Please vote for this idea to expose it


this is also a good idea to promote along these lines.