A developer builds a new OmniScript. It contains aSet Values element with a ContextId key/value pair that was used during testing. What should the developer do before moving the OmniScript to a production org?
A. Update the ContextId value to specify an id from the Production org.
B. Add a Show/Hide condition on the Set Values element.
C. Delete or Deactivate the Set Values element.
D. Deactivate the contextId key/value pair
Explanation:
The Set Values element with a ContextId key/value pair was used for testing purposes and is not needed for production. The developer should delete or deactivate the Set Values element before moving the OmniScript to a production org.
A developer creates a new FlexCardto display customer data and actions, such as updating billing information and changing the contact for the customer account. The FlexCard contains 10 fields and 5 actions. During testing, several fields display with the correct data, but one of the fieldsshows only the label. What could cause this?
A. The fields have exceeded the maximum number allowed on the card.
B. The field is null 0 the Salesforce record.
C. {recordld} us misspelled in the Data Source Input Map.
D. There are no test parameters configured.
Explanation:
According to the FlexCard Designer Overview page, another possible cause of a field showing only the label is that “the field is null on the Salesforce record”.
In a calculation procedure, what is required for the output of a calculation step to be used in an aggregation step?
A. It must be included in constants.
B. It must bea matrixlookup step.
C. It must be a calculation step.
D. It must be included in the calculation output.
Explanation:
In a calculation procedure, the output of a calculation step must be included in the calculation output in order to be used in an aggregation step. The calculation output defines the variables that are available for aggregation
Which two of these options can a developer use to retrieve data from a Salesforce object? Choose 2 answers
A. A DataRaptor Load Action
B. A DataRaptor Extract Action
C. A Lookup Input Element
D. A DataRapt or Post Action
Explanation:
A DataRaptor Load Action can be used to retrieve data from a Salesforce object by specifying the object name, fields, and filter criteria. A Lookup Input Element can be used to retrieve data from a Salesforce object by allowing the user to search for a record using a lookup field
The OmniScript must retrieve device details stored in the Assetobject and then call an external system to send troubleshooting commands via REST API to the device. Which two OmniScript element should the developer use to configure this functionality?
A. DataRaptor Extract Action
B. REST API Action
C. Navigation Action
D. SOQL Action
E. HTTP Action
Explanation:
According to the OmniScript Action Elements page, a DataRaptor Extract Action can be used to “get data from one or more Salesforce records” and an HTTP Action can be used to “get, save, or delete data through a web application programming interface (API)”.
A developerneedsto use the CONTIF function to process data entered by the user in an OmniScript. The output of the function needs to be displayed to the user immediately in the current step. Based on best practice, what element should the developer use this function in?
A. A Calculation Action element
B. A SetValues element
C. A formula element
D. A Range element
Explanation:
A formula element allows the developer to define formulas using functions and operators to manipulate data in an OmniScript. The output of the formula element can be displayed to the user immediately in the current step using a display element. The CONTIF function counts how many times a value appears in a list1. A Calculation Action element executes a calculation procedure and returns the output as a JSON object. A Set Values element assigns values to variables or fields in an OmniScript. A Range element defines a range of values for a variable or field in an OmniScript1. Based on best practice, a formula element is the most suitable element to use the CONTIF function in this scenario.
An integration Procedure uses an HTTP action to makea REST API call. The response from the REST API must be converted into a specific XML structure before sending it as an input to another external wen service. How should the developer configure the Integration Procedure to meet this requirement?
A. Use aRemote Action that calls the XMLStreamReader class
B. Use a Remote Action that calls the XMLStreamWriter class
C. Use a DataRaptor Transform to convert JSON to XML
D. Use a DataRaptor Extract and check the XML checkbox on the Output JSON Path.
Explanation:
According to the OmniStudio Developer Guide, “DataRaptor Transform actions can convert JSON to XML and vice versa.” Therefore, the correct answer is C.
What should a developer's first step be when troubleshooting whether a DataRaptor Extract is retrieving data?
A. Go to the Lightning Console and reload the page to test.
B. Go to the PREVIEW tab In OmniScript to test.
C. Deactivate the card andlayout, andgo to the PREVIEW tab for the card to test.
D. Add a key/value pair in the DataRaptor to test it.
Explanation:
The PREVIEW tab in OmniScript allows the developer to test the DataRaptor Extract by providing a record ID and viewing the output data. This is a quick and easy way to troubleshoot whether the DataRaptor Extract is retrieving data correctly.
A developer needs to display the following information together on oneFlexCard:
* Account name, address, phone number, website
* Primary contact first name, contact name, address, phone number, email
The account information must always be visible, and the contact information should only be visible as needed by the user.
What approach should the developer use to display the contact information on the card?
A. Use aData tableelement
B. Set the class’’ collapsible’’ on the block element
C. Set the collapsible property on the block element
D. Use a conditional FlexCard State
Explanation:
Setting the collapsible property on the block element allows the user to expand or collapse the block as needed. Using a Data table element is not suitable for displaying contact information. Setting the class’’ collapsible’’ on the block element has no effect. Using a conditional FlexCard State requires a condition to be met, not a user choice.
When launching an OmniScript from an action on a FlexCard, the OmniScript displays, but no Salesforce data is populated:
Which two errors could cause this behavior?
Choose 2 answers
A. The Id Field for Actions in the FlexCard is blank.
B. There is no active version of the Data Raptor Extract.
C. There isnonactive version of the OmniScript
D. In the DataRaptor Extract Action, the Input Parameters Filter Value is misspelled.
Explanation:
The Id Field for Actions in the FlexCard specifies which field from the FlexCard data source will be used as the record ID for the OmniScript. If this field is blank, the OmniScript will not receive any record ID and will not be able to retrieve any Salesforce data. In the DataRaptor Extract Action, the Input Parameters Filter Value determines how to filter the data based on the record ID. If this value is misspelled, the DataRaptor Extract will not be able to match the record ID and will not return any data.
A developer creates an Integration Procedure with a Set Values and a DataRaptor Extract Action that requires AccountId as a key. When the developer previews the Integration Procedure, thedeveloper enters the AccountId correctly and execute the Preview. The developer sees the data extract by the DataRaptor in the Debug Log, but the response is empty. What is the likely cause of this issue?
A. The DataRaptor Action did not have the add response Ro Response JSON property set to true.
B. The Response cannot be previewed directly.
C. A Response Action was not added to the integration Procedure.
D. The AccountId used for the preview is invalid.
Explanation:
According to the OmniStudio Developer Guide, “To return a response from an Integration Procedure, add a Response action as the last action in your Integration Procedure.” Therefore, the correct answer is C.
A developer needs to configure a DataRaptor to retrieve data from a singleobject. Thestructure of the output data does not need to be changed. Following best practices, which type of DataRaptor should the developer use?
A. DataRaptor Transform
B. DataRaptor Extract
C. DataRaptor Load
D. DataRaptor Turbo Extract
Explanation:
A DataRaptor Turbo Extract is a simplified version of a DataRaptor Extract that can retrieve data from a single object without changing the structure of the output data. It is suitable for this scenario because the developer does not need to transform or load the data
Page 2 out of 10 Pages |
Previous |