B2B-SOLUTION-ARCHITECT practice question 25 of 25

AC Computers is hitting governor limits when trying to create orders and activate orders in Salesforce. Upon further investigation, it's discovered…

Full set: 112 questions
AC Computers is hitting governor limits when trying to create orders and activate orders in Salesforce. Upon further investigation, it's discovered that AC Computers is trying to process hundreds of order products on a single order. The Order object also has various automation processesto update fields and integrate with a third-party order management system. What is one solution a Solution Architect should evaluate first to resolve this issue?
Answer options
A: Create a custom object to hold orders in queue for processing.
B: Review to determine if moving automation to asynchronous Apex is required. Correct answer
C: Enable Advanced Order Management to process large orders.
D: Install a third-party solution to process large orders.
Correct Answer:
B. Review to determine if moving automation to asynchronous Apex is required.
Explanation

When hitting governor limits due to the volume of operations on the Order object, moving automation to asynchronous Apex (e.g., using future methods, batch Apex, or Queueable Apex) is often necessary. This allows for more efficient handling of bulk operations and reduces the chance of exceeding governor limits. Salesforce provides guidelines on bulkifying code and using asynchronous operations to manage large data volumes effectively, which is essential for high-volume order processing.

Scroll to Top