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 processes to 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?
A . Create a custom object to hold orders in queue for processing.
B. Review to determine if moving automation to asynchronous Apex is required.
C. Enable Advanced Order Management to process large orders.
D. Install a third-party solution to process large orders.
Answer: B
Explanation:
Option B is a solution that can help AC Computers avoid hitting governor limits when processing large orders because asynchronous Apex can run in a separate thread and use higher limits than synchronous Apex 1. For example, asynchronous Apex can process up to 50 million records per transaction, while synchronous Apex can only process up to 50 thousand records per transaction2. By moving some of their automation processes to asynchronous Apex, AC Computers can reduce the load on their Salesforce environment and improve performance.
A Solution Architect should evaluate moving automation to asynchronous Apex to resolve the issue of hitting governor limits when trying to create and activate orders in Salesforce. By moving the automation to asynchronous Apex, the automation processes can be run in a separate thread and will not affect the transaction limit for the current thread. This will prevent governor limits from being hit and ensure that the order creation and activation processes can be completed successfully.
Latest ARC-801 Dumps Valid Version with 112 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund