Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Salesforce AP-208 Exam - Topic 2 Question 4 Discussion

Agents for an insurance company need to know the current and past weather conditions when creating customer claims. The consultant implements a FlexCard for weather conditions in the console to ensure the agents can access the information. The FlexCard needs to provide fields extracted from a weather API and an account field from Salesforce. Which method should the consultant use, according to best practices?
C) Integration Procedure
A) APEX classes
B) DataRaptor Extract
D) Streaming API

Salesforce AP-208 Exam - Topic 2 Question 4 Discussion

Actual exam question for Salesforce's AP-208 exam
Question #: 4
Topic #: 2
[All AP-208 Questions]

Agents for an insurance company need to know the current and past weather conditions when creating customer claims. The consultant implements a FlexCard for weather conditions in the console to ensure the agents can access the information. The FlexCard needs to provide fields extracted from a weather API and an account field from Salesforce. Which method should the consultant use, according to best practices?

Show Suggested Answer Hide Answer
Suggested Answer: C

An Integration Procedure is the preferred solution because the FlexCard must combine data from Salesforce and an external REST API. OmniStudio Integration Procedures are server-side, declarative processes capable of reading Salesforce data, making external REST calls, transforming results, and returning a consolidated response to a FlexCard. A typical architecture is for an Integration Procedure to use a Data Mapper to retrieve a relevant Account value, such as a ZIP code, and then make a REST call to an external weather service for the current or historical conditions associated with that location. Salesforce recommends Integration Procedures as FlexCard data sources when several actions or data sources must be combined because multiple operations can execute in a single server call. This improves flexibility, performance, and maintainability compared with moving orchestration logic to the client. A DataRaptor or Data Mapper Extract alone is appropriate for Salesforce data but does not by itself orchestrate the Salesforce extraction with the external weather service. Custom Apex could perform the work but introduces unnecessary code where OmniStudio provides the required declarative capability. Streaming API addresses event or data streaming rather than this synchronous aggregation requirement.


Contribute your Thoughts:

0/2000 characters

Currently there are no comments in this discussion, be the first to comment!


Save Cancel