Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

popup on interceptor

rajesh9885
Mega Guru

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

6 REPLIES 6

Did you try top.window.location?

 

 

 

How can I redirect a user with an onChange client script?

 

Regards,

Sachin

Nope that's not helping

Client script

===

function continueOK() {
alert('actionok');
response.sendRedirect('URL');
}


function continueCancel(){
//Close the dialog window
alert('actioncancel');
GlideDialogWindow.get().destroy();
return false; response.sendRedirect('URL');
}

 

in both the action i get alert.

Nothing in processing at this moment