Valid CRT-450 Dumps shared by ExamDiscuss.com for Helping Passing CRT-450 Exam! ExamDiscuss.com now offer the newest CRT-450 exam dumps, the ExamDiscuss.com CRT-450 exam questions have been updated and answers have been corrected get the newest ExamDiscuss.com CRT-450 dumps with Test Engine here:
Cloud Kicks has a multi-screen flow that 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 order numbers and dates that are retrieved from an external order management system in real time and displayed on the screen. What should a developer use to satisfy this requirement?
Correct Answer: B
To retrieve data from an external system in real time during a flow, the developer should use an invocable method. Option B: An invocable method public with sharing class OrderService { @InvocableMethod(callout=true) public static List<OrderInfo> getOrderData(List<String> inputs) { // Callout to external system and return data } } Reference: "To invoke Apex methods that perform callouts from a flow, use the @InvocableMethod annotation with callout=true." - Salesforce Developer Guide: Invocable Methods Why Other Options Are Incorrect: Option A: An Apex controller is typically used with Visualforce pages or Aura components, not directly with Flows. Option C: An outbound message sends data to external systems but does not retrieve data. Option D: An Apex REST class exposes endpoints for external systems to call into Salesforce, not for Salesforce to call out.
Recent Comments (The most recent comments are at the top.)
Recent Comments (The most recent comments are at the top.)
D is the correct answer.