nerdexam
SalesforceSalesforce

PDI · Question #155

PDI Question #155: Real Exam Question with Answer & Explanation

The correct answer is B: An apex REST class. To enable a multi-screen flow to retrieve and display real-time data from an external order management system, an Apex class designed for making REST callouts is the most suitable solution.

Submitted by parkjh· Apr 18, 2026Logic and Process Automation

Question

Cloud kicks has a muli-screen flow its call center agents use when handling inbound service desk calls. At one of the steps in the flow, the agents should be presented with a list of order number and dates that are retrieved from an external odrer management system in real time and displayed on the screen. What shuold a developer use to satisfy this requirement?

Options

  • AAn invocae method
  • BAn apex REST class
  • CAn outbound message
  • DAn Apex Controller

Explanation

To enable a multi-screen flow to retrieve and display real-time data from an external order management system, an Apex class designed for making REST callouts is the most suitable solution.

Common mistakes.

  • A. An invocable method is the mechanism to call Apex from a Flow, but it doesn't describe the specific implementation for external system integration; the actual logic for a REST callout would reside within such a method.
  • C. An outbound message is used to send data from Salesforce to an external system based on record changes, not for actively retrieving real-time data from an external system.
  • D. While an Apex controller contains business logic, an 'Apex REST class' (interpreted as an Apex class making REST callouts) is the specific construct for this type of external service integration.

Concept tested. Integrating Flows with external REST APIs using Apex.

Reference. https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_integration_callouts.htm

Topics

#Apex Callouts#Flow Integration#External Services#Real-time Data Retrieval

Community Discussion

No community discussion yet for this question.

Full PDI PracticeBrowse All PDI Questions