I am trying to directly display within an alert message, the current incident's priority number only
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2025 09:20 AM - edited 03-19-2025 09:41 AM
Hi ServiceNow SysAdmin Forum
I am trying to directly display within an alert message, the current incident's priority number only not the priority value such as 1 - Critical, 2 - High, etc., through a Business Rule without updating the Advanced option to " True ", without using script but directly by only using the Add Message option in Actions tab
=====
Incident with the priority of [ ${current.priority} ] has been created / updated
=====
Thanks
DPP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2025 09:24 AM
The following worked for me:
// Add your code here
gs.addInfoMessage('Incident with the priority of [ ' + current.priority + ' ] has been created / updated');
in the script (Check Advanced).