Record Producer - Redirect URL is not working it keeps goes to (https://abcdev.service-now.com/service_catalog.do)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2022 05:27 AM
Hi Experts,
I need help on one of the record producer which i have created and other record producers are working fine.
The issues is like when I click on “try it” and fill the form and submit the page goes to (https://abcdev.service-now.com/service_catalog.do).
It was redirecting to right page which updated in script tab few weeks back but now its not working it keep goes to above link.
Some information's are added here as follows:
| what it will contain | Redirected to - Generated task record |
| Accessibility view | is empty |
| Generated Record Data | Template (Nothing is selected) |
Tried with below URL still its same.
producer.redirect="home.do";
producer.portal_redirect = "sp?id=sc_home";
Even when I comment out the complete script in script tab still its same.
Also checked in (sys_properties) (glide.sc.producer.redirect_url) still its same
Do anyone have any idea as why this happens and what should I do to fix this.
Thanks in advance.
Regards,
Nadeem
- Labels:
-
Service Catalog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2022 07:22 AM
Hello Nadeem,
did you check the below things are correct as per ServiceNow Product Documentation:
for Portal
Mark my Response as Correct or Helpful, if you find it Appropriate.
Gaurav Shirsat : ServiceNow Community MVP 2022
https://www.linkedin.com/in/gauravshirsat/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2022 04:52 AM
Hi
I check and its still same.
Also as I said in my notes that Even when I comment out the complete script in script tab still its same.
Do you have any other idea/suggestions.
Regards,
Nadeem Basha
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2022 06:00 PM
Hi
if(condition)
gs.addInfoMessage("Successfull");
producer.portal_redirect = "sp?id=sc_home";
}
} else {
gs.addErrorMessage("Error");
current.setAbortAction(true);
producer.redirect="home.do";
}
Please check once and Let me know.
If my response is helpful, then Please mark as Correct Answer/Helpful.
Shakeel Shaik 🙂
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2022 04:53 AM
Hi
I check and its still same.
Also as I said in my notes that Even when I comment out the complete script in script tab still its same.
Do you have any other idea/suggestions.
Regards,
Nadeem Basha