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
hitzhitz 

Apex Job - Aborted

Hello Experts,

 

I have a Batch process which runs after once record inserted into system (Calling batch class using trigger). some time it wroks properly but now from few days it gets automatically Aborted. Please Help I dont know why this is happening. Please help ASAP 

AmitSahuAmitSahu
Do you have any queries in the batch class ? and do you have plenty of records in the target object from which you are querying.
hitzhitz

HI,

 

Yes, I have a 2 queries in batch class

 

One is in start method which is fatching only one record and Second which is in execute method with limit 10000 records

AmitSahuAmitSahu
how does the log look like ? Post the log please..