You need to sign in to do that
Don't have an account?
aparna d 1
MIXED_DML_OPERATION, DML operation on setup object is not permitted after you have updated a non-setup object (or vice versa)
Hi ALL,
I am trying to Reactiving the Users using data loader but am getting below error .Please some one help on this, Thanks in advance
ERROR: UserValidateFederationId: execution of AfterUpdatecaused by: System.DmlException: Update failed. First exception on row 0 with id 0031Y00005obhRdQAI; first error: MIXED_DML_OPERATION, DML operation on setup object is not permitted after you have updated a non-setup object (or vice versa): Contact, original object: User: []Class.PC_UserHandler.pushUserValuesToContact: line 161, column 1Trigger.UserValidateFederationId: line 17, column 1
I am trying to Reactiving the Users using data loader but am getting below error .Please some one help on this, Thanks in advance
ERROR: UserValidateFederationId: execution of AfterUpdatecaused by: System.DmlException: Update failed. First exception on row 0 with id 0031Y00005obhRdQAI; first error: MIXED_DML_OPERATION, DML operation on setup object is not permitted after you have updated a non-setup object (or vice versa): Contact, original object: User: []Class.PC_UserHandler.pushUserValuesToContact: line 161, column 1Trigger.UserValidateFederationId: line 17, column 1
Check the workarounds as mentioned in the above official article.
For further reference, you can check the below,
https://developer.salesforce.com/forums/?id=906F00000008wAZIAY
Let me know if it helps you and close your query by marking it as solved so that it can help others in the future.
Thanks.