You need to sign in to do that
Don't have an account?
Swaroopa
UNABLE_TO_LOCK_ROW, unable to obtain exclusive access to this record
Hi all,
While trying to update a series in recurssive event I'm getting an error "UNABLE_TO_LOCK_ROW, unable to obtain exclusive access to this record ".
I have a code in trigger to update event attendees name on updation of an event. I have return this code in future onAfterUpdateAsync method. It is working fine for normal events but for recurssive events I'm getting this error.
Please help me in resolving this?
While trying to update a series in recurssive event I'm getting an error "UNABLE_TO_LOCK_ROW, unable to obtain exclusive access to this record ".
I have a code in trigger to update event attendees name on updation of an event. I have return this code in future onAfterUpdateAsync method. It is working fine for normal events but for recurssive events I'm getting this error.
Please help me in resolving this?
Please check the debug logs to find of there is any request which is taking lot of time while execution and results in locking the records. Refere below thread for detailed explanation:
https://developer.salesforce.com/forums/ForumsMain?id=906F00000008xHnIAI
we have checked our logs and our process is not taking more than few seconds
This error occurs because of having so many concurrent trigger execution or some recursive trigger execution. I would suggest you to simplify the process to avoid too many related trigger executions.