VIP user priority over incident

Sai Prakash Gup
Tera Contributor

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

1 ACCEPTED SOLUTION

Manikandan Than
Tera Expert

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

View solution in original post

1 REPLY 1

Manikandan Than
Tera Expert

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