Redirect to custom page after submitting a catalog item

krr
Mega Guru

When a Record Producer is submitted we have the option to use produder.redirect to send a user to a specific page after submission.

Is there a method to do this custom per catalog item as well?

We need to send a user to a different page for a few catalog items.

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

Can you try this?

you can use after insert BR on sc_req_item table and try to redirect to specific page

Mark Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

7 REPLIES 7

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

Can you try this?

you can use after insert BR on sc_req_item table and try to redirect to specific page

Mark Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hello Ankur,

 

Can I pass the dynamically sys_id of the record So it can redirect to particular record.

gs.setRedirect('https://dev4546464.service-now.com/sc_req_item.do?sys_id=eaa184051b18fc10ec6254ea234bcbbc');

Hi,

dynamic sys_id of what?

 

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hello Ankur,

 

So When i submit the catalog item . So sys_id of the requested item.

 

Regards,
Alok Gupta