<!--:en-->To fix MIXED_DML_OPERATION error(setup and non-setup objects) in Salesforce<!--:--><!--:zh-->Salesforce中MIXED_DML_OPERATION错误(Setup与Non-Setup对象)的解决方案<!--:--><!--:ja-->SalesforceのMIXED_DML_OPERATIONエラー(設定と非設定オブジェクト)の解決策<!--:-->
The folloing error will be occured if you’re trying to perform DML operation on both setup and non-setup objects in the same transation. ` MIXED_DML_OPERATION, DML operation on setup object is not permitted after you have updated a non-setup object (or vice versa): CustomObject__c, original object: User: [] ` Here is the sample code that can explain this case. Setup objects So, which objects are…
View On WordPress














