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
Kelsey BaustianKelsey Baustian 

apex cpu time limit exceeded on data load

Hello, I'm trying to create about 400 Opportunity Line Item records on 400 Opportunities via Data Loader and I keep getting this error message:

dlrs_OpportunityLineItemTrigger: System.LimitException: Apex CPU Time Limit Exceeded

I'm an admin and a contractor we worked with before I joined would have written this code. I found the trigger and the class but don't know if there's a way to bypass it to run this data load? Any help would be greatly appreciated. 
AbhishekAbhishek (Salesforce Developers) 
Try this,

If it helps you and closes your query by marking it as solved so that it can help others in the future.

Hi Kelsey,
Here is the URL you can go through it::

I hope you find the above solution helpful. If it does, please mark it as the Best Answer to help others too.

Thanks and Regards,

Sachin Arora (" style="text-decoration:none)