You need to sign in to do that
Don't have an account?

How to find if a Record is Locked?
Hi
Is there a way in Apex, to find if a Record is Locked?
I am not talking about the ProcessInstance Status here.
I can get the Status = 'Pending' from the ProcessInstance's TargetObjectID.
But it can be possible that the Status is 'Approved' and the record is still locked, waiting for the next in hierarchy to Approve it.
So, how do we find if a Record is Locked?
I too require the same information.
Could anybody help in this regard.