The CreatorCon Call for Content is officially open! Get started here.

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

Hi Ankur,

Yes, we can call the event is BR but before sending the email they want the Dialog box with OK and Cancel buttons if user clicks ok then only email should send and if user click cancel only priority should update.

Regards,

Lohitha.

 

Hi,

in that case you need to write onChange on Priority

1) call the UI page from the onChange using GlideDialogWindow

2) Once the OK button is clicked you can use the UI page processing script to send the email

this link should help you for the steps

https://community.servicenow.com/community?id=community_question&sys_id=869bcb61db9cdbc01dcaf3231f96...

Regards
Ankur

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