Working with UI interaction demo data
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
- 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.
| 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. 注: 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 |
Viewing demo data in UI Builder
- From the UI Builder home page, select the UI interactions tab to view the list of available interactions.
- Use either the list filter from the Label column to search for interactions that begin with DEMO or enter DEMO in the search field.
- Select any DEMO interaction to view how it works or duplicate it for your own use.