A project requires displaying data from a legacy system on a FlexCard. The external system is slow, taking more than 5 seconds for a response. The data only changes once a day.
Which configuration should an OmniStudio Consultant recommend to improve the user experience?
Answer : D
Caching is the correct design because the source system is slow and the data changes only once per day. An Integration Procedure can call the external legacy API, shape the response, and cache the result so users do not wait for the same slow call every time the FlexCard loads. Increasing the REST timeout only allows the slow response to continue; it does not improve the user experience. Data Mapper filtering is not relevant because the source is an external legacy system, not just Salesforce object retrieval. Chain On Step is for breaking long-running Integration Procedure processing, not for reusing stable data. Salesforce Trailhead states that Integration Procedure cache stores frequently accessed, infrequently updated data, reducing round trips and improving performance.
================
An insurance agency wants to enable its call center agents to be more efficient when handling customer inquiries. After analyzing patterns in the call logs, the agency discovers that one of the top customer requests is to find out total insurance premiums paid as well as the difference year over year. Agents need to relay this information to the customer and then send them a summary report by email. The agency decides to implement this process using OmniScript.
What three OmniScrlpts elements should be used to meet the requirements?
Choose 3 answers
Answer : A, B, E
The three OmniScript elements that should be used to meet the requirements are: DataRaptor Extract Action, Email Action, and Calculation Action. A DataRaptor Extract Action can retrieve data from a Salesforce object, such as total insurance premiums paid and the difference year over year, and store it in an Interface object or a JSON object. An Email Action can send an email to the customer with a summary report attached, using data from an Interface object or a JSON object.A Calculation Action can perform mathematical operations on data from an Interface object or a JSON object, such as calculating the difference year over year
What is the purpose of the Messaging element in OmniScript?
Answer : D
The purpose of the Messaging element in OmniScript is to display a warning to users based on logical conditions. A Messaging element can show a message with an icon and a color, such as red for error or green for success.The message can be configured to appear or disappear based on certain criteria, such as field values or user actions
A company is designing a new console for contact center agents to display case data for customers. All cases will be fetched using a single DataRaptor. This page needs to display cases as follows:
"Open" cases with case description, case open date, case type, assigned to, and priority fields. Open cases should be highlighted with a red border.
"Awaiting Closure" cases with case description, last action taken date, resolution, approval reason for closure, and assigned to fields. These cases should be highlighted with a grey border.
"Closed" cases with case description, resolution, case closed date fields with a link to duplicate cases.How should the consultant design the FlexCard solution to meet these requirements?
Answer : B
Comprehensive and Detailed In-Depth The requirement involves designing a FlexCard solution to display case data fetched by a single DataRaptor, with three distinct categories of cases ('Open,' 'Awaiting Closure,' and 'Closed'), each with specific fields and unique styling (e.g., red border for Open, grey border for Awaiting Closure). Based on Salesforce OmniStudio capabilities, the most efficient and appropriate design is a single FlexCard with three states.
Here's why B. Using a single FlexCard with three states is the correct answer:
FlexCard States Overview: In OmniStudio, a FlexCard can have multiple 'states,' which are conditional views of the card's content and styling based on data conditions. Each state can display different fields, apply unique CSS styles (e.g., borders), and include interactive elements (e.g., links). States are driven by conditions evaluated against the data retrieved by the DataRaptor, making them ideal for scenarios where the same dataset (in this case, cases from a single DataRaptor) needs to be presented differently based on a field value (e.g., Status).
Meeting the Requirements:
Data Source: All cases are fetched via a single DataRaptor, which aligns with using one FlexCard since FlexCards are designed to work with a single data source (e.g., a DataRaptor Extract) and then manipulate or display that data in various ways.
'Open' Cases: A state can be configured with a condition like Status = 'Open', displaying fields such as CaseDescription, CaseOpenDate, CaseType, AssignedTo, and Priority. Custom CSS can be applied in the state's style settings to add a red border (e.g., border: 2px solid red).
'Awaiting Closure' Cases: Another state with a condition like Status = 'Awaiting Closure' can show CaseDescription, LastActionTakenDate, Resolution, ApprovalReasonForClosure, and AssignedTo, styled with a grey border (e.g., border: 2px solid grey).
'Closed' Cases: A third state with Status = 'Closed' can display CaseDescription, Resolution, and CaseClosedDate, with a hyperlink element added for duplicate cases (e.g., linking to a related DuplicateCaseId field). No specific border color is mentioned, so default styling or a custom style could be applied.
Display Logic: By default, FlexCards in a list format (e.g., a datatable or repeating block) can iterate over the DataRaptor's JSON output, applying the appropriate state to each case record based on its Status. This ensures all cases are displayed dynamically with their respective fields and styles.
Why One FlexCard?: Using a single FlexCard with states keeps the solution efficient, maintainable, and aligned with OmniStudio best practices. It leverages one DataRaptor call, reduces redundancy, and centralizes the logic and styling in a single component.
Now, let's examine why the other options are incorrect:
A . Using three FlexCards: While it's technically possible to create three separate FlexCards (one for Open, one for Awaiting Closure, and one for Closed), this approach is inefficient and impractical. Each FlexCard would need its own DataRaptor or a filtered subset of the same DataRaptor output, leading to redundant configurations and multiple queries or data manipulations. Additionally, displaying all three categories together in a cohesive console view would require embedding them in an OmniScript or custom layout, complicating the design. The requirement implies a unified display of all cases, which a single FlexCard with states handles more naturally.
C . Using a single FlexCard with multiple card filters: Card filters in FlexCards allow users to dynamically filter the displayed data (e.g., a dropdown to show only Open cases). However, filters don't inherently change the fields displayed or apply specific styling like red or grey borders per category---they only subset the data. To meet the requirement of showing different fields (e.g., Priority for Open vs. LastActionTakenDate for Awaiting Closure) and unique styling, you'd still need states or custom coding beyond what filters provide. Filters are user-driven, not automatic, and don't fully address the requirement.
D . Using a single FlexCard with three flyouts: Flyouts are pop-up panels in FlexCards that display additional details or actions when a user interacts with an element (e.g., clicking a case row). While flyouts could show extra case details, they don't suit the requirement of displaying all cases with their respective fields and borders directly on the main card. Flyouts are supplementary, not primary displays, and using three flyouts would require user interaction to view each category, which contradicts the need to 'display cases as follows' in a visible, highlighted manner.
Best Practice Alignment:
The OmniStudio documentation emphasizes FlexCard states for scenarios where data from a single source needs conditional rendering and styling. This approach minimizes maintenance overhead, optimizes performance (one DataRaptor call), and provides a seamless user experience for contact center agents viewing all case types in one console.
Salesforce OmniStudio Documentation: FlexCards Designer -- Details how states can conditionally display data and apply custom styles.
Salesforce OmniStudio Developer Guide: Working with FlexCard States -- Explains configuring states based on field values like Status.
Salesforce Help: FlexCard Styling -- Covers applying CSS (e.g., borders) to states for visual differentiation.
A business has an existing Contact FlexCard that currently displays 5 actions. The business needs to add 3 m actions to the existing FlexCard. All 8 actions are equally important and used with the same frequency. The business wants to display the name and icon for each action. However, when reviewing the existing design, V consultant notices that the FlexCard is overloaded with actions.
What FlexCard design solution should the consultant recommend?
Answer : A
The FlexCard design solution that the consultant should recommend is to add a menu element and include all the actions. A menu element can display a list of actions in a dropdown menu, with icons and labels for each action. The consultant can use a menu element to show all the 8 actions in the FlexCard, without overloading it with buttons or links.This will improve the user experience and the design of the FlexCard
A business wants to display cases for an account using FlexCards. The cases should be organized in a tabular list by case status, so that Escalated cases appear first, followed by Active and Closed cases.
Which FlexCard feature should the consultant recommend to meet this requirement?
Answer : C
The FlexCard feature that the consultant should recommend to meet this requirement is a Datatable element with the Group By property. A Datatable element is an element that can display data in a tabular format, with columns and rows. The consultant can use a Datatable element to display the cases for an account, with columns for case status, case number, subject, etc. The Group By property is a property that allows grouping data by one or more fields, such as case status.The consultant can use the Group By property to organize the cases by case status, so that Escalated cases appear first, followed by Active and Closed cases
what can a DataRaptor Extract do?
Answer : C
A DataRaptor Extract can retrieve data from multiple related objects. A DataRaptor Extract is a tool that can read data from a Salesforce object or invoke a Salesforce API, using SOQL queries or Apex methods. A DataRaptor Extract can also use filters, joins, and formulas to manipulate the data.A DataRaptor Extract can retrieve data from multiple related objects by using lookup or master-detail relationships in the SOQL queries or Apex methods