Question 1 of 5
Design Integration SolutionsWhen a rep marks an opportunity Closed Won, a fulfillment platform must start a provisioning process that runs for several hours. The rep must not be kept waiting, nothing in Salesforce depends on the provisioning result, and the admin team prefers declarative configuration over custom Apex. Which approach should the architect choose?
Show the answer and explanation
Correct answer: D. Fire and Forget, with a record-triggered flow that publishes a platform event
Salesforce starting a remote process without waiting for it to finish is Remote Process Invocation (Fire and Forget), and flow-driven platform events are its best-fit solution when the remote process is invoked from an insert or update event. The pattern also prefers platform events over Apex callouts when declarative configuration is preferred. The tempting alternative is an Apex trigger that makes an asynchronous callout, which is rated suboptimal and needs the custom Apex the team wants to avoid.
Read from the source: Integration Patterns: Remote Process Invocation, Fire and Forget


