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
skupke1.390278698224649E12skupke1.390278698224649E12 

Batch Apex - aborted Job - no reason - causing the Batch Apex Job DA_SnapshotUpsertBatch to abort

 Please could someone help advise the issue causing the Batch Apex Job DA_SnapshotUpsertBatch to abort.  There is not reason givem in the Apex Job Logs which would indicate a platform error...this job is critical to reporting analytics for us.
Agustina GarciaAgustina Garcia
Hi,

Is DA_SnapshotUpsertBatch a custom batch apex job that you or anyone in your company has created? You would need to check the code and look for the reasons.

1. Please, be sure there is no System.abortJob method anywhere.
2. Be sure no one went to ApexJob screen and clicked on Abort link.
3. In logs try to not filter and get the maximun information as possible.
4. Also, if you hit a governor limit, Salesforce takes few seconds to populate the reason on ApexJob screen, so please, refresh the screen till you are able to see anything.

If any of these reasons helps you, post the code or some pieces, so we can take a look.