Confirmation Message component setup

task brazil Updated Sep 10, 2026 3 min read confirmation-message-component-uib-setup.md
Raw file servicenow.com

A Confirmation Message informs a user whether an operation was completed successfully or not and provides options for next steps.

Before you begin

This task assumes you have placed the component on the page and are ready to configure the properties and events. For instructions on accessing and using features in UI Builder, see Customize UI Builder pages using components.

Note: This document describes the latest component functionality. Go to the store to make sure you have the latest version of the component.

Role required: admin or ui_builder_admin

Procedure

  1. Define a label for your confirmation message that differentiates it from other components in the content tree.

    A label makes finding the component easier in a large list of components. For instructions on using the content tree, see Manage UI pages and page variants.

    [Omitted image "confirmation-message-config-content-tree.png"] Alt text: Component with label displayed in the content tree

  2. Select the Confirmation Messagecomponent, using one of these methods:

    • Click anywhere within the component.
    • Select the Confirmation Message label you created for your component in the content tree. The property fields appear in the Config tab in the setup panel on the right.

Parent Topic:UIB Setup Information

Confirmation Message component properties

Configure the text and icon that appears in your Confirmation Message.

Field

Property

Description

Icon

icon

Icon to display in the confirmation message.

Icon Status

iconStatus

Icon color to indicate priority.

Header message

header

Main message to display to the user.

Header level

headerLevel

Size of the header message. To use a large header, select a lower number like 1 or 2.

Caption

caption

Text that appears after the heading.

More information

moreInfo

Text that appears after the caption. You may choose to enter information to set expectations for the user. For example, to let the user know that an agent will follow-up on their request, you would enter An agent will reach out shortly.

Resolution

resolution

Text that appears after the More information text. You can manually enter this content in a code editor, or you can populate the content dynamically by binding to a data resource. - To manually enter the content, click Edit. In the code editor, enter a label-value pair. For example, to create content that reads Estimated resolution in: 2 hours, you would enter the following:

```

{ "label": "Estimated resolution in", "value": "2 hours" } ```

  • To dynamically populate the content, click the data icon ([Omitted image "data-icon.png"] Alt text: Data icon) and select a data resource.

Primary action label

primaryActionLabel

Label for the primary button.

Secondary action label

secondaryActionLabel

Label for the secondary button.

## Confirmation Message component events

Select event handlers to configure the actions (events) provided with the Confirmation Message component.

The Events tab shows the events used by the Confirmation Message component. To view the available events, select + Add event mapping. Select the event in the list to add one or more event handlers.

Event handlers

Event handlers work with data resources to link the Confirmation Message actions to the data you want to display to your users. Select the event in the list to add one or more event handlers.

For instructions on adding event handlers to an event, see Configure an event handler.

Event descriptions

Event Description
NOW CONFIRMATION MESSAGE PRIMARY CLICKED User clicks the primary action button.
NOW CONFIRMATION MESSAGE SECONDARY CLICKED User clicks the secondary action button.
Search documentation
Search document titles and file paths on the brazil branch