Skip to content
Omniscript, Omnistudio, Salesforce

Messaging Element in Omniscript

November 17, 2024

Configure the Messaging element to display comments, requirements, and success or warning messages based on the outcome of the validation expression (True or False). Set up the Messaging element after creating components like formulas or aggregates to present validation messages in the OmniScript. Note that merge fields are supported in these messages.

Steps for adding messaging element into Omniscript

  • From the OmniScript Designer, drag the Messaging element into the structure panel at the desired location where the message should appear. Note that LWC OmniScripts do not support the Messaging element within an Edit Block.
  • For Validate Expression enter the expression to validate.
  • In the Messages section, choose the message types for when the expression evaluates as True or False, and enter the corresponding messages. Both True and False messaging can be deactivated, and providing messages is optional.

        Below is screenshot of different settings available for messaging element.

 

Below is example of warning and comment type of message. Now, if I enter percentage between 50 – 70 then I will get success message otherwise I will get warning based on expression check.



Keep Reading

Related Articles and Resources

Salesforce Revenue Cloud Mapping Fields from Quote to Quote Line
September 27, 2025

Salesforce Revenue Cloud Mapping Fields from Quote to Quote Line

Salesforce Revenue Cloud has proven to be a critical...

Agentforce Service Agent: A Step-by-Step Guide to Automating Customer Service in Salesforce
October 31, 2024

Agentforce Service Agent: A Step-by-Step Guide to Automating Customer Service in Salesforce

Customer expectations are higher than ever, and businesses...

Salesforce Admin Interview Questions: The Complete Guide
September 18, 2025

Salesforce Admin Interview Questions: The Complete Guide

Salesforce Admin Interview Questions guide: Get scenario...

Major Components of the Vlocity Product Catalog (VPC) in Salesforce Industries CPQ
July 10, 2025

Major Components of the Vlocity Product Catalog (VPC) in Salesforce Industries CPQ

In the evolving landscape of B2B and B2C commerce,...

A Beginner’s Guide to OmniStudio: Streamlining Your Salesforce Experience (FlexCards)
October 27, 2024

A Beginner’s Guide to OmniStudio: Streamlining Your Salesforce Experience (FlexCards)

What is Omnistudio OmniStudio is a powerful set of...

How to Avoid Common Salesforce Development Mistakes?
December 4, 2024

How to Avoid Common Salesforce Development Mistakes?

   Skipping Unit Tests Mistake: Not writing proper unit...