New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Salesforce DEX-450 Exam - Topic 11 Question 118 Discussion

Actual exam question for Salesforce's DEX-450 exam
Question #: 118
Topic #: 11
[All DEX-450 Questions]

Universal Containers (UC) processes orders in Salesforce in a custom object, Order__c. They also allow sales reps to upload CSV files with thousands of orders at a time.

A developer is tasked with integrating orders placed in Salesforce with UC's enterprise resource planning (ERP) system.

After the status for an Order__c is first set to 'Placed', the order information must be sent to a REST endpoint in the ERP system that can

process one order at a time.

What should the developer implement to accomplish this?

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

0/2000 characters
Justine
2 months ago
Flow with an invocable method sounds interesting, but is it efficient?
upvoted 0 times
...
Kara
3 months ago
Isn't using an @future method risky with governor limits?
upvoted 0 times
...
Sunny
3 months ago
Wait, can Batchable really handle this? Seems like overkill.
upvoted 0 times
...
Marilynn
3 months ago
Totally agree, Queueable is perfect for this!
upvoted 0 times
...
Annita
3 months ago
I think option A is the best choice for handling the trigger.
upvoted 0 times
...
Tambra
3 months ago
I have a hunch that using an @future method could work, but I remember there are limits on callouts that might complicate things.
upvoted 0 times
...
Lettie
4 months ago
Flow with an invocable method sounds interesting, but I can't recall if it supports REST callouts directly.
upvoted 0 times
...
Reid
4 months ago
I think we practiced a similar question where we had to send data to an external system. I feel like Batchable might be overkill for just one order at a time.
upvoted 0 times
...
Madalyn
4 months ago
I remember we discussed using Queueable Apex for handling asynchronous processes, but I'm not sure if it's the best fit here.
upvoted 0 times
...
Ashlyn
4 months ago
I'm a little confused by the requirement to process the orders one at a time. Wouldn't a Batchable class be better since it can handle larger volumes of orders? I'll need to think through the tradeoffs between the different options, but I'm leaning towards B or C.
upvoted 0 times
...
Bernardine
4 months ago
Okay, I think I've got a good handle on this. The key is that the orders need to be processed one at a time, so a Queueable class called from a trigger seems like the best approach. That way I can process each order individually and handle any errors or retries without impacting the rest of the system.
upvoted 0 times
...
Kasandra
5 months ago
Hmm, I'm a bit unsure about this one. I'm not super familiar with the Batchable and Queueable classes, so I'll need to review the documentation on those. I'm also wondering if a Flow might be a simpler solution since it can handle the callout directly.
upvoted 0 times
...
Portia
5 months ago
This looks like a pretty straightforward integration problem. I think I'll go with option B - a Batchable class called from a scheduled job. That way I can process the orders in batches and handle any errors or retries more easily.
upvoted 0 times
...
Noah
5 months ago
I think a Flow with a callout from an invocable method might be a more efficient solution for this scenario.
upvoted 0 times
...
Annalee
5 months ago
I believe a Batchable class called from a scheduled job could also work for this integration.
upvoted 0 times
...
Ollie
5 months ago
I agree with Brigette, using a Queueable class will help in processing orders one at a time.
upvoted 0 times
...
An
6 months ago
I think the answer is B. Callout from a Batchable class called from a scheduled job. It seems like the best way to handle a large volume of orders and integrate with the ERP system.
upvoted 0 times
Louvenia
5 months ago
I agree, using a Batchable class for callouts in a scheduled job is a good choice for handling large volumes.
upvoted 0 times
...
...
Brigette
6 months ago
I think the developer should implement a callout from a Queueable class called from a trigger.
upvoted 0 times
...

Save Cancel