How to pop-up a dialog box with "OK" and "Cancel" button?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2020 11:54 PM
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.
- Labels:
-
Team Development

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2020 12:09 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2020 12:10 AM
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
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2020 12:22 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2020 12:26 AM
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
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader