# Omniscript group, input and action elements

*Omnistudio Developer Study Guide · Omniscripts · Last updated October 27, 2026 · https://www.certifyforce.com/study-guide/omnistudio-developer/omniscripts/omniscript-group-input-and-action-elements*

How to configure Steps, Blocks and Edit Blocks, read the data JSON with merge fields, query records with Lookup and Type Ahead Blocks, collect and validate input, calculate with Formula, Set Values and Set Errors, choose actions, and route or call Apex with Navigate and Remote Actions.

- Certification: Salesforce Omnistudio Developer
- Exam section: Omniscripts
- Study guide: https://www.certifyforce.com/study-guide/omnistudio-developer

**Official exam objective:**

> Implement dynamic interactions using various Omniscript elements (Group, Actions, and Input elements to create an Omniscript).

## What the exam expects

- Configure Steps, Blocks and Edit Blocks: button widths, repeat limits, modes and default actions.
- Write merge fields that reach nested and repeated nodes of the Omniscript data JSON.
- Configure a Lookup element and a Type Ahead Block so the query receives the user's input and returns label-value pairs.
- Calculate and validate with Formula, Set Values and Set Errors elements.
- Build conditional navigation with a Navigate Action and call Apex with a Remote Action.

Key terms: **data JSON** (the Omniscript's running data), **merge field** (a %path% reference to a data JSON node), **Edit Block** (a repeatable block for entries of one array), **Navigate Action** (opens a page reference), **Remote Action** (calls an Apex method with the data JSON as input).

## Key facts

| Fact | Detail | Source |
|---|---|---|
| Array index in merge fields | Pipe plus number, such as \|2 for the second entry | [Merge fields](https://help.salesforce.com/s/articleView?id=xcloud.os_access_omniscript_data_json_with_merge_fields_22053.htm&language=en_US&type=5), [Conditional view](https://help.salesforce.com/s/articleView?id=xcloud.os_conditionally_display_elements_using_the_conditional_view_property_19389.htm&language=en_US&type=5) |
| Hidden by conditional | Value set to null in the data JSON | [Conditional view](https://help.salesforce.com/s/articleView?id=xcloud.os_conditionally_display_elements_using_the_conditional_view_property_19389.htm&language=en_US&type=5) |
| Lookup results | Under 150 recommended; Label and Value use the full JSON path | [Lookup](https://help.salesforce.com/s/articleView?id=xcloud.os_lookup_element_21681.htm&language=en_US&type=5) |
| SUM in a Formula | Precision defaults to two; use + inside ROUND | [Formula](https://help.salesforce.com/s/articleView?language=en_US&id=sf.os_create_a_formula_or_aggregate_in_an_omniscript_23115.htm) |
| Required, Mask and Pattern | Mask shows the default error, not custom text; Pattern takes simple regex | [Common properties](https://help.salesforce.com/s/articleView?id=xcloud.os_common_omniscript_element_properties_definitions__10687.htm&language=en_US&type=5) |
| Select with no values | Returns an Undefined Value | [Input elements](https://help.salesforce.com/s/articleView?id=xcloud.os_omniscript_input_elements_16001.htm&language=en_US&type=5) |
| Literal % in Set Values | $Vlocity.Percent | [Set Values](https://help.salesforce.com/s/articleView?id=xcloud.os_set_values_in_an_omniscript_22132.htm&language=en_US&type=5) |
| remoteTimeout | Milliseconds; default 30,000, maximum 120,000 | [Remote Action](https://help.salesforce.com/s/articleView?id=xcloud.os_remote_action_13618.htm&language=en_US&type=5) |

## Check yourself

- What happens to a filled element's value in the data JSON when a conditional hides it?
- When should you validate with a Messaging element instead of Set Errors?
- Why does a Type Ahead Block fed by an Integration Procedure need Use Data JSON?
- When does a Navigate Action fire without a click?

## Sources

- [Add Steps to an Omniscript](https://help.salesforce.com/s/articleView?id=xcloud.os_steps_15373.htm&language=en_US&type=5)
- [Configure an Edit Block in Omniscripts](https://help.salesforce.com/s/articleView?id=xcloud.os_configure_an_edit_block_14284.htm&language=en_US&type=5)
- [Add, Edit, and Delete Records with Edit Block Actions](https://help.salesforce.com/s/articleView?id=xcloud.os_addeditand_delete_records_with_edit_block_actions_14582.htm&language=en_US&type=5)
- [Access Omniscript Data JSON with Merge Fields](https://help.salesforce.com/s/articleView?id=xcloud.os_access_omniscript_data_json_with_merge_fields_22053.htm&language=en_US&type=5)
- [Conditionally Display Omniscript Elements](https://help.salesforce.com/s/articleView?id=xcloud.os_conditionally_display_elements_using_the_conditional_view_property_19389.htm&language=en_US&type=5)
- [Common Omniscript Element Properties](https://help.salesforce.com/s/articleView?id=xcloud.os_common_omniscript_element_properties_definitions__10687.htm&language=en_US&type=5)
- [Add a Type Ahead Block in an Omniscript](https://help.salesforce.com/s/articleView?id=xcloud.os_add_and_configure_a_type_ahead_block_15427.htm&language=en_US&type=5)
- [Query Salesforce Data with the Lookup Element](https://help.salesforce.com/s/articleView?id=xcloud.os_lookup_element_21681.htm&language=en_US&type=5)
- [Create a Formula or Aggregate in an Omniscript](https://help.salesforce.com/s/articleView?language=en_US&id=sf.os_create_a_formula_or_aggregate_in_an_omniscript_23115.htm)
- [Set Values in an Omniscript](https://help.salesforce.com/s/articleView?id=xcloud.os_set_values_in_an_omniscript_22132.htm&language=en_US&type=5)
- [Set Errors in an Omniscript](https://help.salesforce.com/s/articleView?id=xcloud.os_set_errors_in_an_omniscript_19684.htm&language=en_US&type=5)
- [Open Other Pages with the Navigate Action](https://help.salesforce.com/s/articleView?id=xcloud.os_navigate_action_12710.htm&language=en_US&type=5)
- [Calling Apex with the Remote Action](https://help.salesforce.com/s/articleView?id=xcloud.os_remote_action_13618.htm&language=en_US&type=5)
- [Omniscript Input Elements](https://help.salesforce.com/s/articleView?id=xcloud.os_omniscript_input_elements_16001.htm&language=en_US&type=5)
- [Omniscript Action Elements](https://help.salesforce.com/s/articleView?id=sf.os_omniscript_action_elements_10951.htm&language=en_US&type=5)
- [Retrieve Data with an Integration Procedure in an Omniscript](https://help.salesforce.com/s/articleView?id=xcloud.os_integration_procedure_action_12506.htm&language=en_US&type=5)
- [Omniscript Data Mapper Action Elements](https://help.salesforce.com/s/articleView?id=xcloud.os_omniscript_data_mapper_action_elements.htm&language=en_US&type=5)
- [Omnistudio Supported Features](https://help.salesforce.com/s/articleView?id=sf.os_omnistudio_and_omnistudio_for_vlocity_products_and_features_support.htm&language=en_US&type=5)

## About the full unit

The "Core concepts", "Exam traps" and "Worked scenario" sections of this unit, its 14 linked practice questions, and unlimited timed mock exams are included with the Omnistudio Developer pack (USD $19): https://www.certifyforce.com/practice-exams
