incident priority update
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2024 09:25 PM
Hi
Requirement : if incident caller is "A", impact 1 ,urgency 1 we have to set priority 1 can anyone help me in the script how to achieve this
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2024 09:56 PM - edited 02-13-2024 09:57 PM
Use Before BR and Select Incident Table
if(current.caller_id =='A'){
current.impact=='1';
current.Urgency=='1';
gs.addInfoMessage("Priority is 1");
}
or you can use filter in Br

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2024 09:59 PM
Hi @shabbir9
You can go with UI policy.
Create a UI policy as below and mark run script as true and add below script:
Aman Kumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2024 04:11 AM
Hi @shabbir9
Go OOTB way , no code need.
If it is only for specific user, better create Data look up and set Impact and urgency and on basis of same Priority will be populated.
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************