Modeless dialogs
Summarize
Summary of Modeless dialogs
Modeless dialogs in ServiceNow Yokohama release provide overlay windows within workspaces that allow agents to interact simultaneously with the main window content and the dialog. These dialogs support creating and posting comments, work notes, and managing emails without blocking access to the underlying case record. This enhances agent productivity by enabling reference to case details while drafting communications.
Show less
Key Features
- Compose Activity Dialog: Enables agents to create comments and work notes that post to the activity stream. Agents can draft one comment and one work note at a time, minimize dialogs to the In-process Actions menu, and discard drafts as needed. Drafts are local to the browser and cleared on page reload.
- Compose Email Dialog: Allows creating, saving, sending, replying to, and forwarding emails directly from the Front-line case page. Emails sent are posted to the activity stream. Agents can apply email templates, attach files, and add links to knowledge articles. The dialog supports minimizing, maximizing, resizing, and opening drafts in subtabs. Draft management features include viewing, discarding, and deleting drafts.
- Email Header Controls: The email header fields (To, Cc, Bcc, Subject) can be expanded or collapsed for convenient editing and viewing.
- Auto-Loading of Drafts: The system automatically loads the latest saved email draft when opening the Compose Email dialog, configurable through UI Builder properties.
- Form Templates Integration: Templates can prepopulate comments and work notes in modeless dialogs, allowing agents to post templated content to the activity stream efficiently. If both comment and work note content exist, separate dialogs open for each.
Practical Benefits for ServiceNow Customers
- Improves agent efficiency by enabling multitasking—agents can draft communications while referencing case details without losing context.
- Streamlines communication workflows with integrated email drafting, template application, and attachment capabilities within the workspace.
- Enhances case tracking and collaboration by posting comments, work notes, and emails directly to the activity stream.
- Provides flexible draft management to prevent loss of work and supports easy recovery or discarding of drafts.
- Allows customization of dialog behavior and draft loading to fit organizational needs via component properties in UI Builder.
Modeless dialogs are windows that overlay the main window content. Modeless dialogs enable for creating and posting comments and work notes to the activity stream, as well as composing and sending emails.
- Create comments and work notes to post to the activity stream.
- Create and send emails and reply to or forward emails.
After opening a modeless dialog, agents can move it around the screen and put it where they need it. This feature enables agents to reference information from the main window while drafting text in the overlay window.
- Compose Activity - for creating and posting comments and work notes
- Compose Email - for creating and sending emails
Create comments and work notes
| Task | Description |
|---|---|
| Create a comment or work note | To create a comment or a work note:
When creating comments and work notes:
|
| Post a comment or work note to the activity stream | To post a comment or work note, select one of the following actions from the Compose window:
The Compose window automatically closes after the text is posted to the activity stream. Saving the case record also posts the comment or work note to the activity stream and closes the Compose window. |
| Minimize a Compose window | Composed windows can be minimized and moved to the In-process Actions menu in the action bar. Minimized comments and work notes appear in a list in the In-process Actions menu. Compose windows can be
minimized in the following ways.
|
| Open a minimized Compose window | Select the In-progress Actions menu in the action bar and then select an item from the list to open the window. Items in the In-process Actions menu appear in a list with the action type (email, comment, or
work note) and an abbreviated title.
|
| Discard a comment or work note | To discard a comment or work note:
The system closes the Compose window and discards the comment or work note. |
- Draft comments and work notes are local to the browser. If the browser page is reloaded, they are cleared.
- Comments and work notes stay synchronized on the form and in the modeless dialogs.
- The Compose window can be resized.
Create emails
Agents can use the Compose Email modeless dialog to create and save email drafts and to send emails. This feature increases the speed of drafting emails while referencing record information.
| Task | Description |
|---|---|
| Create and send an email | To create and send an email:
When creating emails and sending emails:
|
| Reply to or forward an email | To reply to or forward an email:
The Compose Email window automatically closes after the email is posted to the activity stream. |
| Add a link to a knowledge article | To add a link to a knowledge article:
The system adds the title of the article with a link in the body of the email. |
| Apply a template to an email |
To apply a template to an email:
Note: If no templates are available, the icon does not appear in the footer. |
| Minimize a Compose Email window | Minimized emails appear in a list in the In-process Actions menu in the action bar. Select the Minimize icon ( |
| Open a minimized Compose Email window | Select an item from the In-progress Actions menu to open the Compose Email window. Items in the In-process Actions menu appear in a list with the action type (email, comment, or work note) and an abbreviated title.
|
| Maximize a Compose Email window | Select the Maximize icon ( Select the Maximize icon again to exit the Maximize mode. |
| Open a draft email in a subtab | Select the Pop out icon ( The Compose Email window closes when the email opens in the subtab. |
| Close a Compose Email window | Select the Close icon ( The system saves the text as a draft email and closes the Compose Email window. |
|
View a list of draft emails |
Select the View drafts icon (
|
|
Select an email draft |
Select the View drafts icon ( To view a list of all email drafts:
|
| Select an email draft from the Draft Emails related list |
|
|
Discard the current draft email |
|
|
Delete an email draft from the Manage drafts pop-up window |
|
- An agent can create multiple email drafts.
- An agent can have one Compose Email window open at a time. The system displays a message if an agent tries to open another Compose Email window while the first Compose Email window is still open.
- An agent must manually close a Compose Email window before opening a new window.
- The Compose Email window can be resized.
Collapsing and expanding the email header
- To
- Cc
- Bcc
- Subject
- The names in the To, Cc, and Bcc fields are combined into one line. If there is a long list of recipients, some of the names are replaced with "and more".
- The subject is displayed in a second line.
- The fields are not editable.
When you create a new email or forward an email, the header is expanded by default and displays the To and Subject fields. If you expand the Cc and Bcc fields, the collapse header icon is displayed.
When you reply to an email, the header is collapsed by default. Expanding the header shows all the fields that contain information.
Compose Email modeless dialog footer icons
| Icon | Description |
|---|---|
| Discard draft ( |
Select this icon to delete the current draft. Then confirm the delete action in the resulting confirmation message. |
| Apply template ( |
Select this icon to display a list of available templates. You can select a template from the list or search for a specific template. The list can display up to 10 templates. Selecting a template applies that
template to the draft email. Note: If no templates are available, the icon does not appear in the footer. |
| View drafts ( |
Select this icon to display a list with recent draft emails as well as email-related actions. You can select an email draft from the list to display that draft in the Compose Email window. Email-related actions include:
|
| Attach file ( |
Select this icon to attach files to an email draft From computer or From record. After attaching one or more files, you can hide or show the attachments. |
Auto-loading the latest email draft
The Compose Email modeless dialog opens with the last saved email draft. When a user selects , the Compose Email modeless dialog opens and displays this latest draft. If there are no recent drafts for the current case, the system loads a new draft. This feature is enabled by default.
- Load latest draft: When enabled, the system loads the latest email draft.
- sys ID: Set this property to -1.
Using form templates to create comments and work notes
You can create and use form templates that add content to the Additional comments and Work notes fields on a case record and then post that content to the activity stream.
| Content to add | Description |
|---|---|
| Comment | If a template includes content to add to the Additional comments field on the case record, the system does the following:
|
| Work note | If a template includes content to add to the Work notes field on the case record, the system does the following:
|
| Comment and work note | If a template includes content to add to both the Additional comments and Work notes fields on the case record, the system does the following:
Selecting Post Comments adds the content to the Additional comments field on the case record and to the activity stream. Selecting Post Work Notes adds the content to the Work notes field on the case record and to the activity stream. |
If text already exists in the Additional comments or Work notes fields, applying a template opens a modeless dialog and adds the template content. Selecting Undo removes the template content from the modeless dialog and replaces it with the existing text from the fields on the Case record.