popup on interceptor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2018 11:03 AM
hello,
Can anyone guide on who to create popup message Yes/NO when clicked on a link on interceptor page?
Its like
we have a link expedited change, when we click on that it directly to the change window with change type as expedited
What i want is when someone click on expedited change link, system should ask "Are sure to raise expedited change"
is yes than proceed if no than stop
regards

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2018 11:06 AM
Below post has solution for opening popup up on interceptor.
https://community.servicenow.com/community?id=community_question&sys_id=b9fd87addb9cdbc01dcaf3231f961978
Regards,
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2018 11:08 AM
Interceptors are basically Wizards. As an admin, you can click Edit Interceptor in upper right corner to edit the flow. Then edit the expedited change item and instead of making it navigate to the change record, navigate to a new panel that asks for yes/no.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2018 11:33 AM
As a followup to my suggestion, I was able to set this up quickly. Click the Edit Interceptor button.
At bottom list where you have your current change choices, click New and choose "Move user on to another set of questions":
Then enter the details like below. Then click the highlighted magnifying glass to create the next panel to prompt for your confirmation:
Click the New button on the popup
Then enter the details of your confirmation:
Then click submit and submit again which should take you back to your interceptor. Once there click the highlighted link to put in your Yes/No options
My yes will take them to the new expedited change:
My No option takes the user back to the change list
Clicking New on change will now include the new option:
Then clicking Expedited Change will present this:
Please mark this post as helpful or the correct answer to your question if applicable so others viewing can benefit.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2018 12:45 PM
So far So good
Now i have an issue with redirection
UI page is OK
Problem is with client script
function actionCancel() {
var c = gel('submit_cancelled');
c.value = "true";
GlideDialogWindow.get().destroy();
}
function actionOk() {
response.sendRedirect("www,123.com");
}
Processiing
if (submit_cancelled == "false") {
response.sendRedirect('ww.abc.com');
}
I have button OK and Cancel on the UI page.
My requirement is when user click on OK ith should redirect to url 'www.123.com'
and when clicked on cancel it should redirect to url www.abc.com
When clicked on Cancel it gives message
GlideWindow.locate: window not found