How to add borders for notification
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2023 11:39 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2023 01:35 AM
Hi Kruthik,
You might think of using Notification templates to use it for notifications as well & not specific. There is an article that you can go through to understand & build something for your use case.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2023 01:56 AM
Refer below link for your requirement
If my answer solved your issue, please mark my answer as ✅Correct & 👍Helpful based on the Impact
Thanks,
Manjusha Bangale
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2023 05:45 AM
Hi @Kruthik M Shiva,
You can achieve this in the following two ways.
- By creating an email template
Email templates are created in rich HTML format, and administrators have the option of converting existing email templates to rich HTML (starting with the Eureka release). This format provides several advantages, including:
- Raw HTML content is converted into a WYSIWYG format.
- The content can be edited in a feature-rich HTML editor.
- Mail scripts are condensed into a single, easy-to-read line that can be reused in multiple email notifications.
- To prevent broken links, images linked using URLs relative to a particular instance are converted to absolute links.
For more information, check out this ServiceNow product doc
- By creating email content in a sys_ui_message for every object (Incident, Change, Requested Item, Catalog Task, etc). You can also setup the notification theme in the message(in your case, setting up a border).
Messages can be utilized to provide translations for several different scenarios where Info, Error, and other system messages are displayed. These messages are used in a number of areas in the system to display placeholder text, help text information, etc throughout the UI. They can also be used as a time-saving mechanism while generating system messages so that they always have the same look and feel but also contain the required dynamic content.
Check out the below post which shows how to create and configure email content in a message.
If you feel that I have assisted you in any manner, please mark my comment as helpful/correct.
Thanks,
Shreya