redirecting page in Record Producer

RC12
Tera Contributor

i have a record producer on change request  table. as soon as the record producer is submitted from the portal, i want the user to be redirected to the change request form in the instance. can anyone tell me how to do it. thanks in advance.

1 ACCEPTED SOLUTION

Sunjyot Singh
Kilo Guru

Hi,

 

You can try something like:

producer.portal_redirect = "change_request.do?sys_id=" + current.getUniqueValue();

Reference:

https://community.servicenow.com/community?id=community_question&sys_id=03779127db2b1410d5c4d9d96896...

Write this in the record producer script.

 

Thanks.

View solution in original post

3 REPLIES 3

shivambitanwar
Tera Expert

Hi RC,

 

did you try using this option 

find_real_file.png

Mark Roethof
Tera Patron
Tera Patron

Hi there,

Haven't tested, though you could try something like adding below in your record producer script:

producer.redirect="/nav_to.do?uri=change_request.do?sys_id=" + current.getUniqueValue();

OR

producer.redirect="https://your-instance.service-now.com/nav_to.do?uri=change_request.do?sys_id=" + current.getUniqueValue();

If my answer helped you in any way, please then mark it as helpful.

Kind regards,
Mark
2020-2022 ServiceNow Community MVP
2020-2022 ServiceNow Developer MVP

---

LinkedIn
Community article, blog, video list

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

Sunjyot Singh
Kilo Guru

Hi,

 

You can try something like:

producer.portal_redirect = "change_request.do?sys_id=" + current.getUniqueValue();

Reference:

https://community.servicenow.com/community?id=community_question&sys_id=03779127db2b1410d5c4d9d96896...

Write this in the record producer script.

 

Thanks.