I am trying to update a group of records satisfying certain conditions it was giving me Error which says:-
UNABLE_TO_LOCK_ROW, unable to obtain exclusive access to this record or 10 records
so I tried to use
FOR UPDATE clause for this query but now it is giving me this error:-
SObject type does not allow locking rows.
Here is the query I am using:
Select Id from user where lmscons__Cornerstone_ID__c != NULL AND lmscons__CFS_Status__c = 'Active' AND Checked_Today__c = true LIMIT 10 FOR UPDATE