Apex CPU Time Limit Exceeded When Returning 4,000 Line Items to Salesforce QuoteLineItem Object
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
Hi Team,
I am trying to add 4,000 simple products to Salesforce using the Logik.io Configurator. When I click the Return to Quote button in the configurator cart header, Logik.io successfully saves all 4,000 line items to the Configuration Line Item object in Salesforce.
However, I receive the following error:
LGK-68EA49511DBC459098B32F4BB: Webhook Exception for configuration [84efcb53-33cb-4837-812b-99fc8217f794]: "System.LimitException: Apex CPU time limit exceeded (LGK)"
Is there a supported or recommended approach for syncing all 4,000 line items to the Salesforce Quote Line Item object without hitting the Apex CPU time limit? For example, is asynchronous processing or batch synchronization supported by Logik.io for this scenario?
Any guidance or best practices would be greatly appreciated.