---
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


---

# Working with UI interaction demo data

# Working with UI interaction demo data {#ariaid-title1}

Release version: Brazil  
Updated September 10, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 2 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 Working with UI interaction demo data

Demo UI interactions provide ServiceNow customers with ready-made examples illustrating common UI Interaction patterns.
These samples serve as safe, practical starting points to explore how interactions function, experiment without risk, and build customized UI experiences tailored to your needs.
Show full answer Show less  

## Key Considerations

* **Duplicate before customizing:** Demo interactions are reference examples and should be copied before any modifications to preserve the originals.
* **Compatibility and updates:** Demo content may change between platform releases, and backward compatibility is not guaranteed.
* **Custom components:** Must be duplicated separately from the demo interactions.
* **Declarative actions:** These are inactive by default and require manual activation before testing.
* **Scope of demos:** They do not cover advanced scenarios like long-running processes, usage tracking, automatic refreshes, multi-step journeys, or complex branching logic.

## Available Demo Interactions and Use Cases

* **DEMO Cascade delete:** Demonstrates safe deletion flows by prompting confirmation and showing related child records that will also be deleted. Useful for designing deletion processes that communicate impact clearly. Note: Must be duplicated into the Global scope to function properly.
* **DEMO Close incident:** Simplifies incident closure with status updates and confirmation messages, showcasing common lifecycle update actions on record forms.
* **DEMO Report knowledge gap:** Opens a short modal form to capture user feedback about missing or incomplete knowledge, illustrating lightweight user input collection.
* **DEMO Create new record:** Provides an in-context, modeless form to create new records without navigating away, teaching invocation of record creation via UI Interactions.
* **DEMO Reassign records:** Opens a modal for selecting Assignment Group and Assigned To values to update multiple records, demonstrating guided update flows with dependent fields and bulk reassignment.
* **DEMO Open modal to display table, sysid, form view:** Shows how to dynamically display record details in a modal using form controller data, enabling contextual record inspection without page navigation.
* **DEMO Save form and close tab:** Saves the current Workspace form and closes the tab (or alerts if closing is not possible), demonstrating Workspace-aware save-and-finish workflows common for agents.

## Working with Demo Data in UI Builder

From the UI Builder home page, access the UI Interactions tab to view available demo interactions. You can filter or search for demos by entering "DEMO." Selecting any demo allows you to observe its behavior or create a duplicate for customization.

## Duplicating Demo Interactions

To safely modify and experiment with demo interactions, create duplicates that provide editable copies separate from the original reference examples. This ensures your customizations do not affect the provided demos and allows for iterative development.  
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.

## Key considerations for working with demo interactions {#working-with-demo-interactions__section_w4s_vgd_23c}

* Duplicate before customizing. Demo interactions are reference examples; create a copy before modifying.
* Backward compatibility isn't guaranteed. Demo content may change between releases.
* Custom components must be duplicated separately.
* Corresponding declarative actions are inactive by default and must be manually set to true before testing.
* Demo interactions don't cover long‑running processes, usage tracking, automatic refresh behavior, multi-step journeys, or complex branching logic.
{#working-with-demo-interactions__ul_d25_2hd_23c} {#working-with-demo-interactions__table_zjs_kyc_23c__entry__4}

| Demo Interaction | What it does | Why It's Useful | Use case |
|-|-|-|-|
| DEMO Cascade delete | Prompts you with a confirmation message before deleting records, including information about related child records that will also be deleted. Note: Unlike other demo interactions, Cascade delete must be duplicated into Global scope before it executes correctly. | Helps you understand how to design safe delete flows that clearly communicate downstream impacts before continuing. | Safe record deletion |
| DEMO Close incident | Simplifies closing an incident by updating the record and showing a confirmation. | Shows how to build quick, common life-cycle update actions for record forms such as closing, resolving, and advancing status. | Record life-cycle transition |
| DEMO Report knowledge gap | Opens a short form enabling you to report missing or incomplete knowledge content. | Demonstrates how to gather user input in a lightweight modal and submit it as a record. | User‑submitted feedback |
| DEMO Create new record | Opens a modeless dialog with a form for creating a new record without leaving the current page. | Teaches you how to invoke record creation in-context using UI Interactions. | In‑context record creation |
| DEMO Reassign records | Opens a modal that lets you select an Assignment Group and Assigned To value, then updates the selected records. | Useful for showing guided update flows, including dependent fields and multi-record reassignment. | Bulk reassignment |
| DEMO Open modal to display table, sys_id, form view | Opens a modal that dynamically displays the table, sys_id, and form view of the record the user is viewing. This data is pulled from the form controller, not passed in as inputs. | Illustrates how to surface additional record details in a modal instead of navigating away. | Contextual record inspection |
| DEMO Save form and close tab | Saves the current Workspace form and closes the tab (or shows an alert if closing isn't possible). | Demonstrates Workspace‑aware actions, helping you automate save and finish patterns commonly needed by agents. | Save‑and‑finish workflow |
[Table 1. Available demo data]

{#working-with-demo-interactions__table_zjs_kyc_23c}

## Viewing demo data in UI Builder {#working-with-demo-interactions__section_y33_11d_23c}

1. From the UI Builder home page, select the UI interactions tab to view the list of available interactions.
2. Use either the list filter from the Label column to search for interactions that begin with DEMO or enter <kbd class="ph userinput">DEMO</kbd> in the search field.
3. Select any DEMO interaction to view how it works or [duplicate it for your own use](https://www.servicenow.com/docs/Jv0J0XY5or8GbmS9~Pa4nA "Create a duplicate of a demo UI interaction example to work with a separate, editable copy.").
{#working-with-demo-interactions__ol_jcq_31d_23c}
* **[Duplicate a demo UI interaction](https://www.servicenow.com/docs/Jv0J0XY5or8GbmS9~Pa4nA)**   
  Create a duplicate of a demo UI interaction example to work with a separate, editable copy.

