You need to sign in to do that
Don't have an account?
Madhusudan Singh 19
Record Lock Error On Custom Settings Update
Hello,
I am facing Unable to lock row when I am updating hierarchical custom settings that is being updated in trigger(On Contact Object) context. This error I am getting when I am importing Contacts from Import wizard.
I am trying to import around 2000 records.
Thanks in advance.
You can refer below links which can help you.
https://ideas.salesforce.com/s/idea/a0B8W00000GdcvxUAB/document-known-issue-with-unable-to-lock-row-when-testing-custom-settings
https://help.salesforce.com/s/articleView?id=000387767&type=1
If this information helps, please mark the answer as best. Thank you
You can take the refrences from these below sites to address the issue:
https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/langCon_apex_locking_statements.htm
https://ideas.salesforce.com/s/idea/a0B8W00000GdcvxUAB/document-known-issue-with-unable-to-lock-row-when-testing-custom-settings?_ga=2.55955304.2104649995.1694409783-2130616218.1686311341&_gac=1.61872606.1691489419.Cj0KCQjwz8emBhDrARIsANNJjS5o6nVUF1t9_utObHLOS2xVjcj_OQuHuI_TWsKO1xL9sdbRGaOpDeMaAozgEALw_wcB
https://help.salesforce.com/s/articleView?id=000387767&type=1
If this helps you please mark it as a best answer
Thanks!