---
sourceDocument: Brazil Build or modify applications
sourceDocumentLink: https://www.servicenow.com/docs/r/application-development

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil Build or modify applications

ft:clusterId :

    - cadev

bundleId :

    - cadev

workflow :

    - Development, Data, and Analytics


---

# UI interactions

# UI interactions {#ariaid-title1}

Release version: Brazil  
Updated September 10, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 3 minutes to read
Summarize  
![AI sparkle icon](https://servicenow.com/docs/portal-asset/ai-sparkle-icon) Summarized using AI  
This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.  

## Summary of UI interactions

UI interactions in ServiceNow enable you to create reusable flows that combine UI elements and logic into a single unit, which can be triggered directly from events within UI Builder.
This functionality helps you link event-driven behavior to reusable interaction logic, reducing duplication, improving consistency across pages, and simplifying maintenance by applying updates automatically wherever the interaction is used.
Show full answer Show less  
UI interactions are ideal for scenarios such as triggering confirmation dialogs, displaying alerts after record saves, showing modal form views on validation failures, or chaining multiple steps like data updates followed by success messages. For long-running, sequential processes, consider using Playbook instead.

## Accessing and Managing UI Interactions

* View existing UI interactions by selecting the UI interactions tab in UI Builder or by navigating through the Now Experience Framework menus.
* Create new UI interactions either from UI Builder or the platform interface, defining attributes such as name, type (Generic, Form, or List), and description.
* Edit UI interactions by adding, removing, or modifying steps in the diagram editor.
* Duplicate interactions to safely experiment or create new flows based on existing ones.
* Delete interactions when no longer needed or when foundational properties require resetting to avoid errors.

## UI Interaction Workflow

A UI interaction consists of:

* **Inputs:** Configurable data like strings, booleans, choices, references, or JSON needed to run the interaction.
* **Trigger:** Events from components, declarative actions, or other triggers that start the interaction, passing inputs.
* **Start Nodes:** Define where the interaction begins.
* **Steps:** Sequential or branched execution of user and system actions.
* **End Node:** Marks completion of the flow.

## Differences from Declarative Actions

* Declarative actions primarily control where and when buttons appear on forms or lists without modifying pages.
* UI interactions define complete end-to-end behaviors combining UI, logic, and scripting.
* Declarative actions can trigger UI interactions, enabling more complex, reusable behaviors.
* UI interactions support triggering UI elements like modals without requiring page ownership or modification.

## Triggering UI Interactions

UI interactions can be triggered from:

* **Declarative actions:** For adding buttons on forms or lists without page customization.
* **UI Builder page events:** From buttons, component events, or custom UI behavior within pages.

## UI Interaction Types and Toolbox

* **Types:** Generic (any component), Form (form-specific behaviors like save and validate), and List (list-related actions).
* **Toolbox:** Provides building blocks including UI elements (modals, dialogs, dynamic forms), custom components, logic steps (conditions, branches), form/list actions, scripting steps, and data binding inputs.
* The toolbox adapts to the selected interaction type, ensuring relevant components are available.

## Practical Use and Experimentation

ServiceNow provides demo UI interactions with ready-made examples demonstrating common patterns. You can duplicate these samples to explore functionality, safely experiment, or use them as starting points for your own custom interactions.  
Trigger UI interactions directly from events in UI Builder, allowing you to link event-driven behavior to reusable interaction logic.

UI interactions are reusable flows that combine UI elements and logic into a single unit you can trigger from component events in UI Builder. They help you avoid repeating the same wiring across multiple pages and make your designs easier to maintain.

## Why use UI interactions {#uib-ui-interactions__section_f4z_qgg_yhc}

* Reduced duplication: Instead of creating separate actions for every component, you define the flow once and reuse it.
* Improve consistency: Interactions apply the same behavior across multiple pages or experiences.
* Simplify maintenance: Changes to an interaction automatically apply wherever it's used.

{#uib-ui-interactions__ul_kst_wgg_yhc}  
Note:  
For record-based, sequential UI with a long-running process, consider using Playbook.

## Practical uses for UI interactions {#uib-ui-interactions__section_an2_c3g_yhc}

* Trigger a confirmation dialog when a user selects a button
* Show an alert message after a record is saved
* Show a form view inside a modal when validation fails
* Chain multiple steps together, such as updating data and displaying a success message
{#uib-ui-interactions__ul_qc5_33g_yhc}

## Accessing UI interactions {#uib-ui-interactions__section_rtk_1rc_cjc}

* To view list of all existing UI interactions from within UI Builder: select the UI interactions tab from the UI Builder home page.
* To create UI interactions from within UI Builder: select CreateUI interactions from the UI Builder home page.
* To view a list of all existing UI interactions from the platform, navigate to AllNow Experience FrameworkUI interactionsAll. The UI Builder home page opens with the UI interactions list displayed.
* To create UI interactions from the platform, navigate to AllNow Experience FrameworkUI interactionsCreate new. The creation modal opens in UI Builder where you define the interaction name, type, and description.
{#uib-ui-interactions__ul_e53_2rc_cjc}

## UI interaction workflow {#uib-ui-interactions__section_ert_33k_23c}

A UI interaction defines a reusable flow of user and system actions. At a high level, every interaction works this way:

1. Inputs: a configurable piece of data that a UI interaction needs to run. Supported types include string, true/false, choice, reference, and JSON. Inputs can be defined upfront or promoted from a step property.
2. Trigger: a component, declarative action, or event starts the interaction and passes inputs.
3. Start: one or more start nodes determine where execution begins.
4. Steps: the interaction runs its steps in sequence, optionally branching with events or parallel And paths.
5. End: execution reaches an End node, completing the flow.
{#uib-ui-interactions__ol_g3m_k3k_23c}
Figure 1. UI interaction workflow example

## How UI interactions differ from declarative actions {#uib-ui-interactions__section_er2_zg3_b3c}

Declarative actions determine where and when an action appears, most commonly on a form or list. UI interactions encapsulate what happens and can be triggered by any page event or declarative action. Key differences include:

* Declarative actions place buttons on lists and forms without requiring modifications of the page.
* UI interactions define the end‑to‑end behavior of UI, logic, and script when triggered.
* Declarative actions can trigger UI interactions.
* Declarative actions can be implemented as UI interactions instead of UXF client actions, since they work without page ownership or modification, even when triggering UI like modals.
{#uib-ui-interactions__ul_stq_2h3_b3c}

## Triggers for UI interactions {#uib-ui-interactions__section_mcd_ymg_yhc}

You can run a UI interaction from several entry points, depending on the use case:

* Declarative action: ideal when you need a button on a form or list without page customization.
* UI Builder page events: trigger interactions from buttons, component events, or custom UI behavior within a page.
{#uib-ui-interactions__ul_nrc_f33_b3c}

## UI interaction types {#uib-ui-interactions__section_r2y_2hg_yhc}

When you create an interaction, you choose a type that determines the context it works with:

* Generic: works with any component
* Form: designed for form-specific behaviors such as save, validate, and scripting
* List: tailored for list-based actions such as list refresh and scripting
{#uib-ui-interactions__ul_gpx_ghg_yhc}

## UI interaction toolbox {#uib-ui-interactions__section_gvq_3yl_13c}

The toolbox provides all building blocks available inside the UI interaction editor, including:

* UI elements like modals, modeless dialogs, and dynamic forms
* Custom components with Component Builder
* Logic steps such as conditions, if/else branches, and navigation
* Form or list actions, when available for that interaction type
* Client and server script steps
* Data-binding inputs and configurable properties

{#uib-ui-interactions__ul_d2v_m33_b3c}  
Note:  
Toolbox components depend on the interaction type such as form, list, or generic.
Figure 2. UI interactions toolbox example
* **[Create a UI interaction](https://www.servicenow.com/docs/8y8DtzzxkKSLP1F7HwmaiA)**   
  Create a UI interaction and attach it to a component event in UI Builder. UI interactions are reusable flows that combine UI, logic, and scripts into a single unit, including custom UI built with Component Builder, and can be triggered from any component event on a page.
* **[Edit an existing UI interaction](https://www.servicenow.com/docs/XoX7DGXbKQsxNwx1~j3apw)**   
  Edit or modify an existing UI interaction by inserting new steps, swapping or deleting events, removing steps, or updating step configurations in the diagram editor.
* **[Duplicate a UI interaction](https://www.servicenow.com/docs/AB_d3EMBPzkWnoVoh8D_8g)**   
  Create an independent copy of an existing UI interaction to use as a starting point for a new interaction or to safely experiment with changes.
* **[Trigger a UI interaction from a page event](https://www.servicenow.com/docs/0QnfTemVH0NT2qJI8fqpQg)**   
  Attach a UI interaction to a UI Builder page event so the interaction runs when a user performs an action on a component.
* **[Delete a UI interaction](https://www.servicenow.com/docs/MXsil_ZoAB4tVASXCAQnog)**   
  Delete a UI interaction when it's no longer needed or when you must replace it with a new version. Although UI interactions can be edited after creation, some foundational properties are intentionally locked to avoid data and runtime errors. In those cases, deletion might be required.
* **[UI interaction toolbox steps](https://www.servicenow.com/docs/6hOFxjD3K7z0q9GYa9SjzA)**   
  Find details about UI interaction toolbox steps, organized by interaction type, with step descriptions and any available outgoing events. Steps are added to a UI interaction using the toolbox in the UI interaction editor. The available steps depend on the type you selected when you created the UI interaction, whether Generic, Form, or List.
* **[Working with UI interaction demo data](https://www.servicenow.com/docs/8cW5iXfI2eXIyTzKjJ9F3A)**   
  Demo UI interactions give you simple, ready‑made examples that demonstrate common UI Interaction patterns. You can duplicate these samples to explore how interactions work, experiment safely, and use them as starting points when building your own experiences.

*[\>]: and then


