Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Salesforce Plat-Arch-204 Exam - Topic 1 Question 14 Discussion

Posted by Bernadine on Jul 01, 2026 at 09:05 PM

Northern Trail Outfitters leverages Sales Cloud. When an opportunity has changed its status to ''Closed/Won'' and there are products attached, the details should be passed to the OMS for fulfillment operations. The callout from Salesforce to the OMS should be synchronous. What should an integration architect do to satisfy these requirements?

Suggested Answer: C

A synchronous requirement in Salesforce implies a Request-Reply pattern where the user waits for a response. To implement this correctly while adhering to platform constraints, the architect must initiate the callout from the User Interface (UI) layer.3

Option C is the correct architectural choice. By using a Lightning component and a button (or a Quick Act4ion), the callout is initiated directly from the user's session. The component calls an Apex controller, which performs the synchronous REST callout to the OMS. This allows the user to receive immediate feedback---such as a 'Success' message or an 'Error' notification from the OMS---directly on the Opportunity page.

Option A is incorrect because Apex Triggers are prohibited from making synchronous callouts. If a trigger initiates a callout, it must be asynchronous (using @future or Queueable Apex), which violates the business requirement for synchronicity. Making a synchronous call from a trigger would block the database transaction and could lead to 'Uncommitted Work Pending' errors or system timeouts. Option B (Batch Apex) is inherently asynchronous and delayed; an hourly job would not provide the real-time, synchronous feedback required during the 'Closed/Won' transition. Therefore, moving the integration logic to a UI-driven button is the only way to satisfy the synchronous requirement while staying within Salesforce's execution and transaction limits.


Get Premium Plat-Arch-204 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
23 comments · newest first
LA
Lavonne 2 days ago
B could miss real-time updates.
DA
Daniela 7 days ago
Exactly, A automates the process.
JO
Joni 13 days ago
C seems too manual, not ideal.
LA
Laurel 18 days ago
A is straightforward, no delays.
LE
Leonida 23 days ago
But B isn’t synchronous.
LA
Lavonne 28 days ago
I prefer B. It’s more efficient in bulk.
DA
Daniela 1 month ago
It’s synchronous, meets the requirement.
LE
Leonida 1 month ago
Why A?
DA
Daniela 1 month ago
I think option A is the best.
MA
Magdalene 2 months ago
Closed/Won opportunities need immediate OMS updates, so A makes sense.
WI
Winfred 2 months ago
Wait, can we really rely on triggers for this?
AS
Ashlyn 2 months ago
A synchronous callout is definitely needed here.
BE
Bettyann 2 months ago
I think B could work, but hourly seems too slow for fulfillment.
PI
Pilar 2 months ago
Option A is the best choice for real-time updates!
JU
Juliann 2 months ago
B) seems too slow for fulfillment needs, though.
MI
Misty 3 months ago
A) makes sense, triggers are designed for this!
CO
Corazon 3 months ago
Wait, can we really do synchronous callouts in Apex?
WI
Willow 3 months ago
I disagree, B) could work too, but it's not real-time.
OZ
Ozell 3 months ago
A) is the best choice for synchronous callouts.
GI
Giuseppe 3 months ago
I recall that Lightning components can handle synchronous calls, but I wonder if that would be overkill for just passing opportunity details to the OMS.
SE
Serita 4 months ago
I feel like batch Apex might not be suitable here since we need real-time processing. I think it has to be immediate, right?
LE
Lenita 4 months ago
I think option A sounds familiar because we practiced a similar question about triggers and callouts, but I’m a bit hesitant about the implications of governor limits.
SH
Shaniqua 4 months ago
I remember we discussed the importance of synchronous callouts in class, but I'm not sure if a trigger is the best approach for this scenario.
0/2000 characters

Save Cancel