You need to sign in to do that
Don't have an account?
Dan Warren
How to execute DML post merge
Hi,
I'm using the After Delete event on an Account that is being merged. A DML operation within this trigger is causing an update to the Master Account record throwing an exception.
I'm assuming this is beacasue it is trying to edit the Account whilst it is involed in a Merge operation.
What is the best way to submit the DML statement after the Account Trigger has finished firing?
My first thoughts are perhaps to submit the operation as queueable apex?