QuestionQ61

VerifiedSalesforce Integration Patterns

Northern Trail Outfitters uses Sales Cloud to track and manage leads, accounts, contacts, and opportunities. An Order Management System (OMS) in the back office handles orders and order fulfillment. When an opportunity’s status changes to “Closed/Won” and products are attached, its details must be sent to the OMS for fulfillment operations.

The Salesforce-to-OMS callout must be synchronous.

What should an integration architect do to meet these requirements?

Explanation

A synchronous Apex REST callout can be made from an Apex method invoked by a Lightning component, allowing the user request to wait for the OMS response. HTTP callouts are not permitted directly from synchronous trigger code during DML processing, so a trigger-based solution requires asynchronous processing; a scheduled batch job is also asynchronous and delayed.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!