What is action.setRedirectURL();

Sidhu9
Tera Contributor

Thanks & Regards

Srinu

 
Thanks& Regards
Sidhu !
1 ACCEPTED SOLUTION

Gunjan Kiratkar
Kilo Patron
Kilo Patron

Hi @Srinu ,

 

action.setRedirectURL(url);-

As part of a UI action, you may want to redirect a user to a URL. For example, you might add links to a form or open a new record after it is created from a UI action. To redirect a user to a URL from a UI action, use this syntax to define the redirect link:

action.setRedirectURL('http://www.mysite.com/mypage.htm');

 

Please mark my answer as helpful/Correct so that these threat will close and it will benefitted to others as well.

 

Regards,

Gunjan 


Please Mark My Response as Correct/Helpful based on Impact
Regards,
Gunjan Kiratkar
2X ServiceNow MVP
Community Rising Star 2022
Youtube : ServiceNow Guy

View solution in original post

6 REPLIES 6

Vishal Savajia1
Kilo Sage

Gunjan Kiratkar
Kilo Patron
Kilo Patron

Hi @Srinu ,

 

action.setRedirectURL(url);-

As part of a UI action, you may want to redirect a user to a URL. For example, you might add links to a form or open a new record after it is created from a UI action. To redirect a user to a URL from a UI action, use this syntax to define the redirect link:

action.setRedirectURL('http://www.mysite.com/mypage.htm');

 

Please mark my answer as helpful/Correct so that these threat will close and it will benefitted to others as well.

 

Regards,

Gunjan 


Please Mark My Response as Correct/Helpful based on Impact
Regards,
Gunjan Kiratkar
2X ServiceNow MVP
Community Rising Star 2022
Youtube : ServiceNow Guy