Record Producer - Redirect URL is not working it keeps goes to (https://abcdev.service-now.com/service_catalog.do)

Nadeem Basha
Tera Contributor

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

6 REPLIES 6

Gaurav Shirsat
Mega Sage

Hello Nadeem,

did you check the below things are correct as per ServiceNow Product Documentation:

for Portal

find_real_file.png


Mark my Response as Correct or Helpful, if you find it Appropriate.
Gaurav Shirsat : ServiceNow Community MVP 2022
https://www.linkedin.com/in/gauravshirsat/

 

Hi @Gaurav Shirsat,

 

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

Shakeel Shaik
Giga Sage

Hi @Nadeem Basha 

 

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.

Thanks,
Shakeel Shaik 🙂

Hi @Smudge  

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