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.

On Portal, after submitting a request, want to redirect to a page and then show the Info message

sn123
Kilo Contributor

Hi,

Please see the below Screenshot:

On submitting a request through Portal, i want to first redirect to sp_home page and then display below message on it:

find_real_file.png

Can anyone help, tried to update the client controller on widget with no success.

18 REPLIES 18

yltsai
Mega Guru

I have the same question. Is there a solution for it?

Thank you,

No I'm afraid

 

I settled for the delay mentioned above

Thank you.

dvp
Mega Sage

update the issueMessage function with custom message and write a Widget on the custom page with your desired message

 

function issueMessage(n, table, sys_id) {

//var page = table == 'sc_request' ? 'sc_request' : 'ticket';

var page = 'thank_you'; //Custom Page

if (c.options.page) {page = c.options.page;}
if (c.options.table) {table = c.options.table;}
var url = spUtil.format(c.options.url, {page: page, table: table, sys_id: sys_id});
if (c.options.auto_redirect == "true") {
//$window.location.href = url;

$window.location.href = url;
return;
}



}

 

find_real_file.png