Omniscript Flashcards
Key capabilities of omniscripts?
- Quickly build with drag-drop; low to no code
- Useable on any device and any channel
- Modular Architecture
- Can display data from multiple sources
- Can be rebranded to suit your customers (either by custom Lightning stylesheets, or Newport Design System, a CSS framework).
- Can manage signed documents.
In OmniScripts, which element provides autocomplete and search functionality?
Type Ahead block element
What Makes an OmniScript Unique?
An OmniScript’s Type, Subtype, and Language gives an OmniScript its unique identity. Only one active OmniScript may have the same Type, SubType, and Language at any time. An OmniScript’s Type must start with a lowercase letter.
An OmniScript’s Name does not have to be unique in your org. (Note: Element names do need to be unique within the omniscript)
Data flow from Salesforce to OmniScript using Integration Procedure: what happens when the JSON parses and does not match to input element names in OmniScript?
Field will be empty
What is the (recommended) naming convention for Omniscript elements?
Prefix for element type + VerbObjectDetail. Example: IPGetAccountDetails for an Integration Procedure (IP) to get account details.
How many levels of nesting are supported with reuseable omniscripts?
Only one. So you cannot reuse an omniscript that also contains a reuseable omniscript in it.
How many columns are in the OmniScript designer grid?
12
What is a step element in Omniscripts?
It forms a page. Steps also represent a page flow & can reflect their position in a step chart.
What is the recommended naming convention for Omniscript element names?
PascalCase, and no special characters / spaces. They must also be unique within the OmniScript.
For elements that aren’t visible in preview (like Integration Procedures), why should you still specify the Field Label as matching to the Element Name?
Because the field label does display in the Action Debugger.
If you configure multiple Integration Procedures for the OmniScript, having descriptive labels for them helps you confirm if they are pulling and pushing the data correctly
What delimiter do you use to specify an instance of a JSON node?
Pipe |.
Note that you instance the first entity with 1, not 0.
Why would you remove the Mask on a telephone element in Omniscripts?
The phone number does not display in a Lightning web component with a mask in place.
How to test Navigation Actions in Omniscripts?
Navigation Action elements don’t run in Preview mode. You test the Navigation action when you run the OmniScript from a console.
What is the merge field syntax for OmniScript?
%MergeFieldName%
What are some uses for the OmniScript Action Debugger?
Inspect JSON at each step of the script, timings, current user, etc.
What does a Navigate Action do?
Use a Navigation Action to specify where to send the user when the OmniScript finishes.
Use the action to indicate how to open the record page for the Salesforce object that is coded into the ContextId by default
What does VlocityNoRootNode do?
In response JSON node, this removes the root node, e.g. the “Contact”:{} line. This is used to help auto-fill text fields via the OmniScript parser.
What’s the minimum requirement for all Omniscripts to have?
All OmniScripts require the following elements:
- at least two data sources (the best practice is to use OmniStudio Integration Procedures),
- at least one Step to display inputs, and
- a Navigate Action to direct the end user at the end of the interaction.