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

Or you can have timer to show message for few seconds and after that redirect users to homepage as described by rini


Community Alums
Not applicable

Hi Chirag,



I have tried the method you suggest, however the redirect is successful but the Info Message with REQ# is not visible.



Please suggest


check this out ,it is working for the redirect to delay info message and it is redirect to homepage



if (g_form)


g_form.submit();


setTimeout(redirectpage, 5000);


}




function redirectpage()


{


document.location = "/sp/";


}





Manikandan T
Giga Contributor

check this out ,it is working for the redirect to delay info message and it is redirect to homepage



if (g_form)


g_form.submit();


setTimeout(redirectpage, 5000);


}




function redirectpage()


{


document.location = "/sp/";


}