Northern Trail Outfitters needs to send order and line items directly to an existing finance application webservice when an order if fulfilled. It is critical that eac order reach the finance application exactly once for accurate invoicing.
What solution should an architect propose?
Recent Comments (The most recent comments are at the top.)
C - Queueable Apex is an interface. The System.enqueueJob(queueable) method is used to add the job to the queue.
https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_queueing_jobs.htm
I believe it's B.
- A - User can hit button a few times, so "It is critical that eac order reach the finance application exactly once for accurate invoicing" will be not met.
- B - future method is the best solution here because has greater, asynchronous limits. @future (callout=true)
- C - There is no "Queueable Apex method". It is Queueable Apex class.
- D - Outbound Messaging doesn't support multiple objects, so "send order and line items" will be not cover.
A should be the correct answer. Both B & C has the same effect