incident email notification priority
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2025 09:25 PM
Need solution for the incident email notification template priority should be display as like value(1,2,3) instead of display as label(1-Critical, 2-High, 3-Moderate).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2025 09:49 PM
how are you printing it?
If you are doing it using ${priority} then it will show the label
you will have to use email script for this and invoke this email script in notification body
(function runMailScript(current, template, email, email_action, event) {
// Add your code here
template.print('Priority' + current.priority);
})(current, template, email, email_action, event);
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2025 03:18 AM
Hi Ankur,
template.print('Priority' + current.priority);
this email script is not working.
Actually i am using template is Major incident SMS notify template. This email script is not working in the template.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2025 03:47 AM
where are you using that? share the complete details
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2025 05:53 AM
I am using this one in MIM SMS notify template