• Amruta Mahale
  • NEWBIE
  • 0 Points
  • Member since 2013

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies
Hi,
 
I have two bulk triggers on case object.
 
one trigger works on before insert and before update. This trigger updates on filed on case whenever account or owner of the case changes. Another trigger is used to throw a error message whenever a user tries to close a case with open activities.This works on before update.
 
1. For insert it is working fine.When I change the Account or Owner field,it updates.
2. When I change the Status  field to 'closed' and try updating ,it throws the following exception.
 
"Too many retries of batch save in the presence of Apex triggers with failures: when triggers are present partial save while loading Data requires that some subset of rows save without any errors in order to avoid inconsistent side effects from those triggers. Number of retries: 2"
   
Tried to change the logic to update  only those records which dont throw any errors. Still facing the same issue.
 
Is it a apex limitation?Can any one please suggest me any work around or any ways to handle this exception.
 
Any pointers will be of great help.
 
Thanks in advance
 
Regards,
Swapna
 
 
  • August 23, 2008
  • Like
  • 0