ITSM - Populate Severity based on the priority from all the related Incidents
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2024 01:29 AM - edited 02-27-2024 01:37 AM
Hi all,
I have a requirement where we can Custom field named 'Severity' choices similar to priority and is read only on the form.
I need to auto populate 'Severity' based on priority from related Incidents.
Lets assume an incident has multiple child incidents, in that case 'Severity' should populate which has the highest priority.
This should update when there is an update in the form and when an child incident is created.
How can we achieve this.
Thanks in advance!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2024 02:13 AM
Hey @Delapan,
You can write a Business Rule on the child table. 'When to run' will be something like below:
Then write a script in the BR so that it queries all the sibling records and propagates the highest priority upward.
Cheers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2024 02:27 AM
Hi @Delapan
My thought, instead of checking the child incidents priority, you should consider the parent incident only. As per me, child incident either have same priority or less priority then the parent.
Also, what is purpose of duplication priority to Severity. You can do via BR.
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]
****************************************************************************************************************