- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2023 07:38 AM
Hi,
when we select the impact user as VIP in incident form, Then priority needs to set automatically at '2' and if requires the priority needs updgrade to Priority '1' basedon impact user request .
please suggest the best solution .
Regards
Guptha
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2023 07:52 AM
Hello @Sai Prakash Gup ,
We can write an Onchange Client script on Caller field with below code
var caller = g_form.getReference('caller_id', vipuser);
function vipuser(caller) {
if (caller.vip == 'true') {
// Depend upon the Priority you can set the Imapct and Urgency.
g_form.setValue('impact', 1);
g_form.setValue('urgency', 1);
}
}
Kindly mark it correct and helpful if it solves your issue.
Thanks and Regards,
Manikandan Thangaraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2023 07:52 AM
Hello @Sai Prakash Gup ,
We can write an Onchange Client script on Caller field with below code
var caller = g_form.getReference('caller_id', vipuser);
function vipuser(caller) {
if (caller.vip == 'true') {
// Depend upon the Priority you can set the Imapct and Urgency.
g_form.setValue('impact', 1);
g_form.setValue('urgency', 1);
}
}
Kindly mark it correct and helpful if it solves your issue.
Thanks and Regards,
Manikandan Thangaraj