- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-28-2017 05:50 AM
Hello Everyone,
I have a requirement where i need to populate if the Priority changes to Critical i.e: P1.
Can anyone help me with the script for this and also please let me know the best practice to populating message whether it is Client script or BR.
On incident table when ever i choose Impact & Urgency as High Priority changes to Critical when ever it changes critical i just to populate a message saying that it is P1 ticket
Thanks in Advance,
Irfan
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-28-2017 06:24 AM
Yes, you can throw a warning on P1 incidents form an onChange client script. I would do it something like this (untested code ahead)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-28-2017 05:54 AM
Hi Irfan,
You can write onChange client script on impact and urgency
code would be like
if (newValue == 1) { // for impact
alert("Impact is escalated ");
}
if (newValue == 1) // for urgency {
alert("Urgency is escalated");
}
If you require something for P1, then you have to write same logic for Priority field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-28-2017 05:55 AM
Hi Shaik,
create onupdate Business Rule, put message like - priority changed to "Critical"
Thanks,
Rajashekhar Mushke
Rising star : 2022 - 2024
Community Leader -2018
Connect me on LinkedIn : Rajashekhar Mushke

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-28-2017 05:57 AM
There is already an OOB client script that does this. It is deactivated by default. Change YOURINSTANCE in the URL below to your instance name.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-28-2017 06:03 AM
You know so many secrets about the platform !!!