QuestionQ22

VerifiedOperationalize the Solution

AC Computers is reaching governor limits while attempting to create and activate orders in Salesforce. Further investigation shows that AC Computers is trying to process hundreds of order products on one order. The Order object also includes various automation processes that update fields and integrate with a third-party order management system.

What is one solution that a Solution Architect should evaluate first to resolve this issue?

Explanation

Large numbers of order products, field updates, and an external integration can collectively consume synchronous transaction limits. Evaluating whether the automation and integration should run in asynchronous Apex can move work into separate transaction contexts, reducing pressure on the order creation and activation transaction. Salesforce documentation notes that asynchronous Apex has an independent set of governor limits and recommends asynchronous processing for integrations that risk synchronous transaction limits.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!