- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2022 02:11 AM
Hi Team,
I want to redirect few specific catalog items to portal homepage after submitting instead of redirecting to Request summary page.
Thanks in Advance,
Bala
Solved! Go to Solution.
- Labels:
-
Service Portal Development

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2022 04:27 AM
Hi,
Redirection is handles in widget 'SC Catalog Item'. If you have customized this widget then you can make below changes. I have added sys_id of catalog item for which it will redirect user to portal home after submission.
If you are using OOB widget then this is big change. You need to clone OOB widget and make above suggested changes. Then remove the OOB widget from 'sc_cat_item' page and replace the custom widget.
Note: This is not a best way as need customization and will affect OOB behavior. So I would suggest you to convince customer and do not make these changes.
Thanks,
Anil Lande
Thanks
Anil Lande
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2022 02:51 AM
Hi,
you can try this but I haven't tested
After insert business rule on RITM table
Condition: current.cat_item.name == 'Item 1' || current.cat_item.name == 'Item 2'
Script:
(function executeRule(current, previous /*null when async*/) {
// Add your code here
var url = '/sp'; // give your URL here
gs.setRedirect(url);
})(current, previous);
Regards
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
01-10-2022 03:43 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2023 11:12 AM
Hey Ankur,
As Balaraju mentioned, this is not working. I have a requirement very similar but mine is as followed:
1. Submit Catalog Item on Portal
2. After submission, redirect from Portal to Interaction->New Record (within Instance)
Can this be done?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2022 04:27 AM
Hi,
Redirection is handles in widget 'SC Catalog Item'. If you have customized this widget then you can make below changes. I have added sys_id of catalog item for which it will redirect user to portal home after submission.
If you are using OOB widget then this is big change. You need to clone OOB widget and make above suggested changes. Then remove the OOB widget from 'sc_cat_item' page and replace the custom widget.
Note: This is not a best way as need customization and will affect OOB behavior. So I would suggest you to convince customer and do not make these changes.
Thanks,
Anil Lande
Thanks
Anil Lande