$ errors.fyi/salesforce/MIXED_DML_OPERATION 141 namespaces · 4,332 codes
salesforce · salesforce/MIXED_DML_OPERATION
MIXED_DML_OPERATION

Mixed DML Operation

Apex code attempted to perform DML on setup objects (such as User or Group) and non-setup objects in the same transaction. Salesforce disallows mixing these to avoid locking issues; separate them using @future or Queueable Apex.

References

In this namespace

» community-maintained · contribute on GitHub npm i -g errors-fyi && errorfyi ENOENT