Using Message Queue to handle Email 2 Case process
Last updated 2019-10-12 ·Reference W-1712107 ·Reported By 108 users
Summary
When using email-to-case, users will sometimes get an UNABLE_TO_LOCK_ROW error notification. This can happen if there is large data skew for the same parent record (eg, thousands of case records to a single contact record), which cause long-running database queries to time out.
Repro
1- Create a test contact record
2- Create and associate more than 5,000 cases to test test contact record
3- Use email-to-case to create a case
The Automated Case User will receive an UNABLE_TO_LOCK _ROW error message
Workaround
NA
This issue is not a bug. Salesforce is developing a feature to re-process emails if this row lock occurs.
Reported By (108)
































Is it Fixed?
Any unreleased services, features, statuses, or dates referenced in this or other public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make their purchase decisions based upon features that are currently available.