OmniStudio-Developer Practice Test Questions

117 Questions


A developer needs tocreateDataRaptor to retrieve the name of an account for a contact. Following best practices, how should a developer configure the extraction steps?


A. Define an extraction step for the Contact object and set the Extract JSON Path to Contact Account.Name


B. Define extraction steps for the Contact and the Account objects, and set the Extract JSON Path to Contact Account.Name


C. Define extraction steps for the Contact and the Account objects, and set the Extract 3SON Path to Account.Name


D. Define an extractionstep for the Account object, and set the Extract JSON Path to AccountContact.Name





A.
  Define an extraction step for the Contact object and set the Extract JSON Path to Contact Account.Name

Explanation:

A DataRaptor Extract can retrieve data from multiple objects using extraction steps and JSON paths. However, if the data is from a single object, only one extraction step is needed. The Extract JSON Path can use dot notation to access related fields from that object, such as Contact.Account.Name.

A developer creates a Flexcardthat displaysa contact’s mailing address and passes the contact’s postal code to a child FlexCard. When configuration text elements in the child FlexCard, what syntax should a developer use to refer to the contact’s postal code?


A. {Postalcode}


B. {Parent.postalcode}


C. {Records.postalcode}


D. {Params.postalcode}





D.
  {Params.postalcode}

Explanation:

The Params node contains the data that is passed from the parent FlexCard to the child FlexCard. The developer should use {Params.postalcode} to refer to the contact’s postal code in the child FlexCard.

A developer has a requirement to create a child FlexCard that contains all of its parent FlexCard’s records In a Datable How should the developer configure the parent FlexCard’s Node?


A. {Records {0}}


B. {Records}


C. {Params, records}


D. {Recorded}





B.
  {Records}

Explanation:

The Node field for the parent FlexCard should be set to {Records}, which is an array of all the records retrieved by the parent FlexCard data source. This will allow the child FlexCard to access the records and display them in a DataTable.

A developer is troubleshooting an Integration Procedure with two elements: A Remote Action named FetchCart and a Response Action namedResponseCart. In Preview, what JSON node shows the data sent to the Response Action?


A. FetchCart


B. Response


C. ResponseCartDebug


D. ResponseCart





D.
  ResponseCart

Explanation:

In Preview, the JSON node that shows the data sent to the Response Action is the name of the Response Action itself. In this case, it is ResponseCart. The other nodes show either the input data or the output data of the Integration Procedure.

A company wants to allow agents to send customers a quote for signature. The quote is adocument createdusing a DocuSign template that has been prefilled with all of the quote details. The document will be emailed to one or more recipients for signature. How should a developer configure this functionality in OmniScript?


A. DocuSign Envelope Action


B. PDF Acwm


C. DocuSign Signature Action


D. Email Action





A.
  DocuSign Envelope Action

Explanation:

A DocuSign Envelope Action can be used to create and send a document for signature using a DocuSign template. The developer can specify the template ID, recipient details, and prefill data in the action configuration

A developer creates a DataRaptor Extract to retrieve data to pass toan externalservice. The external service expects the field value to beaninteger. However, the DataRaptor is sending it as a string. Which action can the developer take to fix this?


A. In the DataRaptor Output tab, select the Output Data Type of that field toInteger.


B. In the DataRaptor Output tab, enter the default value as 0 on the field.


C. In the DataRaptor Extract tab, set the Input Data Type field to Integer.


D. In the DataRaptor Formula tab, define a formula using the function TOINTEGER and usethe formulaas output.





D.
  In the DataRaptor Formula tab, define a formula using the function TOINTEGER and usethe formulaas output.

Explanation:

The DataRaptor Formula tab allows the developer to define formulas using functions and operators to manipulate data. The TOINTEGER function converts a string value to an integer value. The developer can use this function to output the field value as an integer and use the formula as output

Which two fields in an Integration Procedure can use a function like CONCAT or DATEDIFF? Choose 2 answers


A. In Procedure Configuration, ina TrackingCustom Data value field.


B. In a Remote Action, in a Remote Options value field.


C. In a Remote Action, in an Additional Output value field.


D. In a Response Action, in an Additional input value field.





C.
  In a Remote Action, in an Additional Output value field.

D.
  In a Response Action, in an Additional input value field.

Explanation:

According to the Integration Procedure Actions page, a Remote Action can use a function in an Additional Output value field or in a Remote Options value field. According to the Response Actions page, a Response Action can use a function in an Additional Input value field.

A developer is building an OmniScript and needs to retrieve data from a single field in aSalesforce record. Which OmniScript element does this?


A. Lookup


B. Select


C. HTTP Action


D. DataRaptor Post Action





A.
  Lookup

Explanation:

The Lookup element is used to retrieve data from a single field in a Salesforce record. The Lookup element allows the developer to specify the object, field, and filter criteria for the data retrieval. The Select element is used to display a list of options for the user to choose from. The HTTP Action element is used to send or receive data from an external system using HTTP methods. The DataRaptor Post Action element is used to create or update Salesforce records using a DataRaptor Transform.

A developer is configuring an integration Procedure Action in an OmniScript. The Omniscript needs a JSON response from the Integration Procedure but does not need to wait for the response for the user to proceed. Which feature should the developer enable?


A. Toast Completion


B. Use Future


C. Invoke Mode Fire and Forget


D. Invoke Mode Non-Blocking





C.
  Invoke Mode Fire and Forget

Explanation:

The Invoke Mode Fire and Forget feature enables the OmniScript to invoke the Integration Procedure without waiting for a response. This is useful when the response is not needed for the user to proceed

A developer writes an OmniScript that includes a DataRaptor that updates the Account status based on information provided from the OmniScript. The information must be updated only if the Account record already exists. Otherwise, a new account must be created. How should the developer accomplish this task?


A. Check the Upsert Key checkbox on the Account Status field


B. Check the Upsert Key and Is Required for Upsert checkboxes on the Account Id field


C. Populate the Lookup Object and Lookup Fields


D. Check Overwrite TargetforAll Null Inputs checkbox on the Account Id field





B.
  Check the Upsert Key and Is Required for Upsert checkboxes on the Account Id field

Explanation:

The Upsert Key checkbox indicates that the field is used as a key for upserting records. The Is Required for Upsert checkbox indicates that the field is mandatory for upserting records. The developer needs to check both checkboxes on the Account Id field to update the Account status only if the Account record already exists. Otherwise, a new account will be created.

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.





A.
  The Id Field for Actions in the FlexCard is blank.

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 Accountld as a key. When the developer previews the Integration Procedure, the developer enters the Accountld correctly and executes the preview. The developer sees the dataextracted by the DataRaptor in the Debug Log, but the response is empty. What is the likely cause of this issue?


A. The Response cannot be previewed directly.


B. The DataRaptor Action did not have the Add Response To Response JSON property set to true.


C. A Response Action was not added to the Integration Procedure.


D. The Accountld used for the preview is invalid.





B.
  The DataRaptor Action did not have the Add Response To Response JSON property set to true.

Explanation: The Add Response To Response JSON property on the DataRaptor Action indicates that the output of the DataRaptor should be added to the response JSON of the Integration Procedure. If this property is not set to true, the response will be empty even if the DataRaptor extracts data successfully.


Page 3 out of 10 Pages
Previous