when Incident Priority is changing to 1 - Critical then show a confirm popup message to confirm priority change. "Priority will be changed to P1. Are you sure to proceed with this action?

Arjun Reddy Yer
Tera Guru

"when Incident Priority is changing from 3 - Low  or 2 - Medium to 1 - Critical then show a confirm popup message to confirm priority change with OK or Cancel buttons. "Priority will be changed to P1. Are you sure to proceed with this action?" 

If user select OK, then only change the priority should change otherwise reset to old value.

If Priority changed to P1 then need to send email to caller.

 @Ankur Bawiskar @Mohith Devatte @Musab Rasheed @Aman Kumar  @Pradeep Sharma 

2 ACCEPTED SOLUTIONS

function onChange(control, oldValue, newValue, isLoading, isTemplate) {
   if (isLoading || newValue === '') {
      return;
   }
    if(newValue=="1") 
{
var res= confirm('Priority will be changed to P1. Are you sure to proceed with this action?');
  if(res== true){
     return true;
    }
    else{
g_form.setValue('priority',oldValue);
        }
     }
}

View solution in original post

Hello @yerasumalli@gmail ,

You can create a notification for it  on incident table 

1)  Create an notification on incident table and check updated check box 

2) Give condition as priority changes to 1-critical 

3) Go to whom to send tab and select caller as the recipient 

and try to change the priority and see if the notification is triggering

Please mark my answer correct if it helps you

 

 

View solution in original post

12 REPLIES 12

how to Send email to caller when the priority gets changed?

Hello @yerasumalli@gmail ,

You can create a notification for it  on incident table 

1)  Create an notification on incident table and check updated check box 

2) Give condition as priority changes to 1-critical 

3) Go to whom to send tab and select caller as the recipient 

and try to change the priority and see if the notification is triggering

Please mark my answer correct if it helps you

 

 

Ankur Bawiskar
Tera Patron
Tera Patron

@yerasumalli@gmail 

Was your question around showing confirm box OR how to send notifications?

The response marked as correct and the question asked is completely different and this might confuse members in future.

Please ensure you mark appropriate response as correct as it would help future members.

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader