Customize preview of bell icon notification
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2023 11:26 AM - edited 06-07-2023 11:27 AM
How to hide short description field and add another field in the preview?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2023 09:08 PM
Hi @VP7 ,
That's the Provider Notification, if you are in Tokyo then it's not configurable unfortunately.
In Utah You can, While Creating the content for the Provider notification , select the Route to be " Next Experience Route" and whatever you want to display on heading and message, it would display while clicking on the Bell Icon.
Also, Create a provider notification
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2023 05:33 AM
Is there a way i can add the datetime field?
The requirement is to add the notification sent datetime.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2024 05:59 AM
This is ower a year old discussion but I have the same problem.
I can use variables found in ticket, like this:
# Message content
[${sys_created_on}]
${sys_updated_by}
But datetime takes too much space so I'd like to format it to only contain HH:mm
ServiceNow documentation is suggesting on using scriptable actions but I have no idea how to use them.
When I tried to use an action it doesn't seem to do anything.
# Notification action script
(function action(execution,action,notification,target) {
notification.setMessage('Ticket ' + target.number + ' has been updated.\n\n' +
'Short Description: ' + target.short_description + '\n' +
'Updated By: ' + target.sys_updated_by);
})(execution, action, notification, target);
So it should be possible but the documentation is somehow lacking on good examples as always...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2024 06:06 AM
This is ower a year old discussion but I have the same problem.
I can use variables found in ticket, like this:
# Message content
[${sys_created_on}]
${sys_updated_by}
But datetime takes too much space so I'd like to format it to only contain HH:mm
ServiceNow documentation is suggesting on using scriptable actions but I have no idea how to use them.
When I tried to use an action it doesn't seem to do anything.
# Notification action script (function action(execution,action,notification,target) { notification.setMessage('Ticket ' + target.number + ' has been updated.\n\n' + 'Short Description: ' + target.short_description + '\n' + 'Updated By: ' + target.sys_updated_by); })(execution, action, notification, target);
So it should be possible but the documentation is somehow lacking on good examples as always...