• Justin Wahlers
  • 0 Points
  • Member since 2016

  • Chatter
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
  • 0

I am working on an apex batchable class that processes invoice records by creating new account and opportunity records based on the invoices. The class then deletes the processed invoices. The process is started by clicking a custom button (Process Invoices) added to the list view of invoices.

The problem that I am experiencing is that after pressing the process invoices button the class seems to process the first batch of records (batch size of 20), but never hits the second (or any other) instances of the batchable class' execute method.

The logs in the developer console show that operation "SerialBatchApexRangeChunkHandler" has a status of "Internal Salesforce.com Error". Unfortunately I cannot share code for security reasons, but if anyone has any experience with this error, and information regarding a fix I would appreciate the insight.