How to pop-up a dialog box with "OK" and "Cancel" button?

chinni
Tera Expert

Hi All,

My Requirement is when a priority is updated to critical automatically pop-up should display with  buttons "OK" and "Cancel".

 If user clicks on "OK" button automatically email should send and if user click on "Cancel" button email should not send but priority should update.

Please assist me how can we achieve this!

Regards,

Lohitha.

6 REPLIES 6

Swapnil Soni1
Giga Guru

Hi Chinni,

You can use GlideDialogBox in onChange client script.

when priority is critical .

For more info check this blog similar to your requirement

https://www.snc-blog.com/2017/06/08/creating-a-pop-up-using-a-glidedialogwindow/

 

Thanks

 

 

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

you can use GlideDialogWindow which would trigger on the change of priority.

It would require to create custom UI page

You can also achieve the same via BR and no need of UI page

Regards
Ankur

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

Hi Ankur,

Thank you for your quick response!

we will be using GlideDialogWindow in client script right then how to call that in business rule?

Can you please send any reference.

Regards,

Lohitha.

Hi,

What I am referring is this

1) you need email to trigger once priority is updated to critical then directly use BR or notification condition to send the email

No need of UI page then

Regards
Ankur

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