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
Ron-LONRon-LON 

SOQL query for approval process locked records

Hi, 

 

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.

Damien_Damien_

What makes a record locked?

colemabcolemab

The record lock is not acceesable at this time. 

 

Please vote for this idea to expose it

colemabcolemab

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