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
Ankit Gupta SFDCLearnerAnkit Gupta SFDCLearner 

Cause or when "Apex CPU time limit exceeded" occured

Cause or when "Apex CPU time limit exceeded" occured
Manish  ChoudhariManish Choudhari
Hi Ankit,

Every Salesforce Transaction/Request has a limit of 10 seconds. If your transaction does not complete within 10 seconds, you get "Apex CPU time limit exceeded" error, and your transaction gets rolled back.

Check out this knowledge article to get more details on it: https://help.salesforce.com/apex/HTViewSolution?id=000232681&language=en_US

Let me know if this helps.

**Please mark this as best answer if this answers your query.**

Thanks,
Manish Choudhari
14x Certified Salesforce Architect

Certification link: http://certification.salesforce.com/certification-detail-print?conId=003G000002gRrrEIAS 
My Blog: http://sfdcfacts.com/
Youtube Channel: https://www.youtube.com/SFDCFacts
LinkedIn: https://www.linkedin.com/in/manish-choudhary/
Trailhead: https://trailhead.salesforce.com/en/me/manish-choudhari
Twitter: https://mobile.twitter.com/manish_sfdc