You need to sign in to do that
Don't have an account?
Vin B
Email-to-Case: Error(s) encountered while processing :UNABLE_TO_LOCK_ROW
I have set Email-to -Case in our org. It was working fine earlier, but today I recieved a error mail
Email-to-Case: Error(s) encountered while processing The following errors were encountered while processing an incoming email: UNABLE_TO_LOCK_ROW : unable to obtain exclusive access to this record or 1 records: 0030a******KazIAAS
Here the record mentioned(0030a******KazIAAS) is a Contact record.Around 12 emials were sent by same contact withing a minute. I have looked in to data skew articles from salesforce.Is the error email occured because the contact(Parent record) was locked for previous email to case record? Will this error can occur as the number of related cases to this contact increases?We have triggers on case object but we are not updating contact record here. Querying the parent contact record whick is loccked, can cause this issue??Can anyone tell me what exactly is occuring here and what can be the resolution?
Email-to-Case: Error(s) encountered while processing The following errors were encountered while processing an incoming email: UNABLE_TO_LOCK_ROW : unable to obtain exclusive access to this record or 1 records: 0030a******KazIAAS
Here the record mentioned(0030a******KazIAAS) is a Contact record.Around 12 emials were sent by same contact withing a minute. I have looked in to data skew articles from salesforce.Is the error email occured because the contact(Parent record) was locked for previous email to case record? Will this error can occur as the number of related cases to this contact increases?We have triggers on case object but we are not updating contact record here. Querying the parent contact record whick is loccked, can cause this issue??Can anyone tell me what exactly is occuring here and what can be the resolution?
Refer below links for similar discussion.
https://salesforce.stackexchange.com/questions/20921/can-anybody-explain-the-unable-to-lock-row-error
https://developer.salesforce.com/forums/?id=9060G000000I2r1QAC
Best Regards,
Sandhya