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
jmurtyjmurty 

CPU time limit issues

I had previously opened a couple cases since last year in regards to errors in our Data Loader jobs in violation of the CPU time limit governing limit connected to some of the triggers in our Account object. These errors mainly come in two identified scenarios:
  • Upon creation of an Account that has Latitude and Longitude coordinates
  • Upon any account change that results in a change of ownership whether
    • a direct change of the field through data loader
    • an indirect change through one of our account triggers
We most recently opened SalesForce case #16916621 on the heels of SalesForce case #16616931 regarding this issue that has been occurring since January of last year. Our trigger updates had been fairly successful without wholesale changes to any of our triggers for several years until then. SF support ultimately determined that this was a known issue and targeted a fix for first in May 2017, then in December of 2017.

As of now, we are still getting a wide swath of CPU time limit errors on many of these trigger related batches despite the targeted fix schedule. Is anyone else noticing that these issues are now popping up or have they made any updates to the specific known issue we're experiencing before we end up posting another case?

The main known issue was that SalesForce was using a CPU time limit for triggers of 10000 milliseconds instead of the stated asynchronous trigger time limit of 60000 milliseconds.