function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Too Many DML Rows 10001 error on Process Builder

I'm new to this forum but need some help. I created a flow in Process Builder and when I try to test it, I get 'Too Many DML Rows 10001' error message. The process is on the Opportunity obejct and it is triggered when the owner of an opportunity changes. Then there are 4 actions associated. I'm literally updaing the Opp, and the related Contact owner, Sending an email, updating the Opp stage and creating a task.
Everything I've read on this forum for that error is related to triggers so I'm not sure what is going wrong.
Any ideas? It would be greatly appreciated.
The issues that you are facing might not be necessarily due to the Process Builder but may be related to transactions that are firing due to the update. According to the Salesforce governor limits,maximum number of records that can be processed as a result of DML statements, Approval process is 10,000. You may try batch apex to update Opportunity and related Contact records inorder to resolve this issue.