---
sourceDocument: Xanadu ServiceNow AI Platform Administration
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/xanadu/platform-administration

 Release :

    - xanadu

ft:locale :

    - en-US

ft:publication_title :

    - Xanadu ServiceNow AI Platform Administration

ft:clusterId :

    - platadm

bundleId :

    - platadm

workflow :

    - Platform


---

# Create a messaging notification

# Create a messaging notification {#ariaid-title1}

* Release version: Xanadu
* 
* Updated August 1, 2024
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 4 minutes to read

Notifications define when a message is sent, who it is sent to, and what it contains. To send a notification to Slack or Teams, add a messaging content record to the notification and configure the notification messaging channel. Notifications that require action must be sent to individual users instead of groups.

## Before you begin

Role required: admin

## Procedure

1. Navigate to AllSystem NotificationMessagingMessaging Notifications.
2. Click New.
3. Fill in or modify the fields as appropriate.  
   {#create-messaging-notification__table_tlr_5hd_rdb__entry__2}

   | Field | Description |
   |-|-|
   | Name | Enter a unique name for the notification. Use descriptive names to ensure that your users are able to easily distinguish between notifications. |
   | Table | Select a table to trigger the message. Must be a table or database view within the same application scope. Note: Notifications running on the task \[task\] table are not supported. Instead, use a table extended from task. |
   | Category | Select a category for the notification. A category groups related notifications in the system settings. Note: Do not leave the category as Uncategorised, as users may not be able to find the notification in their list of notifications. |
   | Description | Enter a description for this notification. |
   [Table 1. Messaging notification fields]

   {#create-messaging-notification__table_tlr_5hd_rdb}  
   Note:  
   Notification records are shared between messaging, email, and push notifications. Some fields on the form are not relevant to messaging notification records. Leave fields not described here at their default values.
4. ClickAdvanced view under Related links to switch the advanced view.  
   Note:  
   Switching to the Advanced view saves the current record.
5. Open the When to send tab and complete the form.  
   Note:  
   If the same trigger generates multiple notifications, the system only sends one notification. The system considers all other notifications, even if they have a different subject and body, as duplicates. The Ignore Duplicates business rule controls this functionality.  
   {#create-messaging-notification__table_ibc_3pb_kr__entry__2}

   | Field | Description |
   |-|-|
   | Send when | Select under what condition the notification is sent: * When a record is inserted or updated * When a particular event is fired * When [Notification step](https://www.servicenow.com/docs/access?context=trigger-notification-action-designer&version=xanadu&pubname=xanadu-build-workflows&ft:locale=en-US) in Flow Designer {#create-messaging-notification__ul_jhq_qwn_3bb} |
   | Weight | Set a numerical value for the notification priority relative to other notifications with the same target table and recipients. The system only sends the notification with the highest weight. The default value 0 causes the system to always send the notification (assuming the conditions are met). |
   | Conditions | Use the condition builder to select the conditions under which this notification is sent. For example, select Prioritygreater than3 - Moderate to send the notification only for High and Critical priority incidents. |
   | Inserted | Select the check box to enable messaging notification when a record is inserted. This field appears when you set the Send when field to Record inserted or updated. |
   | Updated | Select the check box to enable messaging notification when a record is updated. This field appears when you set the Send when field to Record inserted or updated. |
   | Event name | Select the event that triggers this notification. This field appears when you set the Send when field to Event is fired. |
   | Advanced condition | Create a script to define more filter conditions, like sending a notification based on the current messaging record, changing field values, or changing system properties. [The advanced condition](https://servicenow-prod.fluidtopics.net/n1SLCsdVYZfS_neme6PEVw "Use an advanced condition to send a notification based on the current email record, changing field values, or system properties.") script must return true or set a global answer variable to true to send the notification. The advanced condition script uses the following global variables: * current: Contains the current record from the table to which the notification is linked. * event: Contains the event that triggered the notification. {#create-messaging-notification__ul_p3s_rqb_kr} Note: The Advanced condition field is evaluated in addition to other conditions you set on the notification. Both the condition and advanced condition must evaluate to true to send the notification. |
   [ ]

   {#create-messaging-notification__table_ibc_3pb_kr}
6. Open the Who will receive tab and fill in or modify the following fields.  
   {#create-messaging-notification__table_oh2_krb_kr__entry__2}

   | Field | Description |
   |-|-|
   | Messaging Channels | Select the messaging channels to receive the messaging notification. Only complete this field if creating a simple notification to send to a channel. Simple notifications use a Messaging Content record of Type Simple. |
   | Users | Select the users you want to receive the messaging notification. Only complete this field if creating a notification that requires user action. Notifications that require user action use a Messaging Content record of Type Buttons. |
   | Users/groups in fields | Select users or groups from reference fields. For example, if a notification uses the Incident \[incident\] table, you can select users or groups from incident fields like Opened by and Assignment group. Note: You can dot-walk to values in reference fields by clicking the plus sign in the field selector and then selecting the related field.If you address the notification to a user with an inactive record in the User \[sys_user\] table, the system does not send the notification to that user. |
   | Groups | Select the groups you want to receive the messaging notification. You can search for groups with the reference lookup icon or by manually entering the group name. This list of groups is static. |
   | Send to event creator | Select this check box to send the notification to the person who performed the action that started the notification process if the person is also a recipient. If the event creator is not specified in one of the recipient fields, the event creator does not receive a notification, regardless of the setting in this field. For new notifications, this option is selected by default. |
   | Event parm 1 contains recipient | Select this check box if the event parameter 1 contains one or more notification recipients (in a comma separated-list). This field is visible only when the Send when field is set to Event is fired. |
   | Event parm 2 contains recipient | Select this check box if the event parameter 2 contains one or more notification recipients (in a comma-separated list). This field is visible only when the Send when field is set to Event is fired. |
   [ ]

   {#create-messaging-notification__table_oh2_krb_kr}
7. Open the What it will contain tab and fill in or modify the following fields.  
   {#create-messaging-notification__table_wlk_2ld_rdb__entry__2}

   | Field | Description |
   |-|-|
   | Messaging content | Select a messaging content record to be used in this notification. |
   [ ]

   {#create-messaging-notification__table_wlk_2ld_rdb}
8. Click Update.

*[\>]: and then


