is it possible redirect to url through script include??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2019 09:36 PM
Hi Team
I have one requirement
I have one UI Page for notify user it has to run continue here or it has to process background.
how i can perform actions in background process after process completion it has to redirect to one url which some records.
Could any body can help on this.
Thanks
Madankumar
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2019 09:38 PM
Hi Madan,
So you have 1 UI page; in the processing script you want to do some server side code and then redirect?
sample script here:
var url = 'www.google.com';
response.sendRedirect(url);
Mark Correct if this solves your issue and also mark Helpful if you find my response worthy based on the impact.
Thanks
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2019 09:42 PM
Thanks Ankur for quick reply
after i click on continue on background process button it has to close and it has perform actions in server side then it has to redirect.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2019 09:54 PM
var url = 'www.google.com';
response.sendRedirect(url);
above code will work in script include?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2019 10:33 PM
Hi Madan,
From UI page processing script you want to redirect right?
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader