Product documentation Docs
    • English
    • Deutsch
    • 日本語
    • 한국어
    • Français
  • More Sites
    • Now Community
    • Developer Site
    • Knowledge Base
    • Product Information
    • ServiceNow.com
    • Training
    • Customer Success Center
    • ServiceNow Support Videos
  • Log in

Product documentation

  • Home
How search works:
  • Punctuation and capital letters are ignored
  • Special characters like underscores (_) are removed
  • Known synonyms are applied
  • The most relevant topics (based on weighting and matching to search terms) are listed first in search results
Topics are ranked in search results by how closely they match your search terms
  • A match on the entire phrase you typed
  • A match on part of the phrase you typed
  • A match on ALL of the terms in the phrase you typed
  • A match on ANY of the terms in the phrase you typed

Note: Matches in titles are always highly ranked.

  • Release version
    Table of Contents
    • Now Platform capabilities
Table of Contents
Choose your release version
    Home Orlando Now Platform Capabilities Now Platform capabilities Notifications System notifications Notifications in messaging applications Create a messaging notification

    Create a messaging notification

    • Save as PDF Selected topic Topic & subtopics All topics in contents
    • Unsubscribe Log in to subscribe to topics and get notified when content changes.
    • Share this page

    Create a messaging notification

    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 System Notification > Messaging > Messaging Notifications.
    2. Click New.
    3. Fill in or modify the fields as appropriate.
      Identifying the notification
      Table 1. Messaging notification fields
      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.
      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. Switching to the Advanced view saves the current record.
    5. Open the When to send tab and complete the form.
      Specifying when to send the notification.
      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.
      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 triggered as an action step in Flow Designer
      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 Priority > greater than > 3 - 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 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.
      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.
    6. Open the Who will receive tab and fill in or modify the following fields.
      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.
    7. Open the What it will contain tab and fill in or modify the following fields.
      Field Description
      Messaging content Select a messaging content record to be used in this notification.
    8. Click Update.

    Tags:

    Feedback
    On this page

    Previous topic

    Next topic

    • Contact Us
    • Careers
    • Terms of Use
    • Privacy Statement
    • Sitemap
    • © ServiceNow. All rights reserved.

    Release version
    Choose your release version

      Create a messaging notification

      • Save as PDF Selected topic Topic & subtopics All topics in contents
      • Unsubscribe Log in to subscribe to topics and get notified when content changes.
      • Share this page

      Create a messaging notification

      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 System Notification > Messaging > Messaging Notifications.
      2. Click New.
      3. Fill in or modify the fields as appropriate.
        Identifying the notification
        Table 1. Messaging notification fields
        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.
        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. Switching to the Advanced view saves the current record.
      5. Open the When to send tab and complete the form.
        Specifying when to send the notification.
        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.
        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 triggered as an action step in Flow Designer
        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 Priority > greater than > 3 - 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 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.
        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.
      6. Open the Who will receive tab and fill in or modify the following fields.
        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.
      7. Open the What it will contain tab and fill in or modify the following fields.
        Field Description
        Messaging content Select a messaging content record to be used in this notification.
      8. Click Update.

      Tags:

      Feedback

          Share this page

          Got it! Feel free to add a comment
          To share your product suggestions, visit the Idea Portal.
          Please let us know how to improve this content

          Check any that apply

          To share your product suggestions, visit the Idea Portal.
          Confirm

          We were unable to find "Coaching" in Jakarta. Would you like to search instead?

          No Yes
          • Contact Us
          • Careers
          • Terms of Use
          • Privacy Statement
          • Sitemap
          • © ServiceNow. All rights reserved.

          Subscribe Subscribed Unsubscribe Last updated: Tags: January February March April May June July August September October November December No Results Found Versions Search preferences successfully updated My release version successfully updated My release version successfully deleted An error has occurred. Please try again later. You have been unsubscribed from all topics. You are now subscribed to and will receive notifications if any changes are made to this page. You have been unsubscribed from this content Thank you for your feedback. Form temporarily unavailable. Please try again or contact  docfeedback@servicenow.com  to submit your comments. The topic you requested does not exist in the release. You were redirected to a related topic instead. The available release versions for this topic are listed There is no specific version for this documentation. Explore products Click to go to the page. Release notes and upgrades Click to open the dropdown menu. Delete Remove No selected version Reset This field is required You are already subscribed to this topic Attach screenshot The file you uploaded exceeds the allowed file size of 20MB. Please try again with a smaller file. Please complete the reCAPTCHA step to attach a screenshot
          Log in to personalize your search results and subscribe to topics
          No, thanks Login