You need to sign in to do that
Don't have an account?

System.Exception: Too many DML rows: 484
I am trying to carry out a bulk operation in my trigger. But I am getting the following error:
---------------------------
Error: Invalid Data.
Review all error messages below to correct your data.
Apex trigger UpdateContract caused an unexpected exception, contact your administrator: UpdateContract: execution of AfterUpdate caused by: System.Exception: Too many DML rows: 484: Trigger.UpdateContract: line 25, column 5
---------------------------
The problem is due to large number of objects to be updated.
Any suggestions will be appreciated.
---------------------------
Error: Invalid Data.
Review all error messages below to correct your data.
Apex trigger UpdateContract caused an unexpected exception, contact your administrator: UpdateContract: execution of AfterUpdate caused by: System.Exception: Too many DML rows: 484: Trigger.UpdateContract: line 25, column 5
---------------------------
The problem is due to large number of objects to be updated.
Any suggestions will be appreciated.
http://www.salesforce.com/us/developer/docs/apexcode/index_CSH.htm#apex_gov_limits.htm
These limits scale with trigger batch size. The limit is multiplied by the number of records submitted. For example, if your batch process contains 200 records, your script may retrieve as many as 20,000 records.
What is the business context for needing to process 100 records for a trigger batch size of 1?