• Raghu Reddy 35
  • NEWBIE
  • 10 Points
  • Member since 2016

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 0
    Replies

Hi Gurus,

I have created an Apex Class which creates a User Account (future method) . This Class is called from Process Builder when a custom object record is created.

Now, I am trying to create a Test Class, but I am getting 'MIXED_DML_OPERATION, DML operation on setup object is not permitted after you have updated a non-setup object (or vice versa):'

How to get around this ?

Thanks,

Raghu



Now, I am trying to create a test class for this,