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

Failing batch class daily : First error: [REQUEST_RUNNING_TOO_LONG] Your request was running for too long, and has been stopped.
Hi All,
I wrote a batch class which updating records. as per batch query it is returning 70 records .. but it is failing every time in prodution with this "First error: [REQUEST_RUNNING_TOO_LONG] Your request was running for too long, and has been stopped.". error . in prod also 70 record with batch query condition .
Thanks,
Hare
I wrote a batch class which updating records. as per batch query it is returning 70 records .. but it is failing every time in prodution with this "First error: [REQUEST_RUNNING_TOO_LONG] Your request was running for too long, and has been stopped.". error . in prod also 70 record with batch query condition .
Thanks,
Hare
Operations that don’t consume application server CPU time aren’t counted toward CPU time. For example, the portion of execution time spent in the database for DML, SOQL, and SOSL isn’t counted, nor is waiting time for Apex callouts.
Kill the job and reconfigure the job with lower batch size and see
https://salesforce.stackexchange.com/questions/97355/what-causes-request-running-too-long-test-errors