Redirect to page from Order Guide
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2020 11:03 AM
Hey friends,
I have an Order Guide with :
1 catalog item
1 record producer
on submit order guide I want to redirect a page.
I created a business rule on the RITM table:
when to run: after, insert
filter: order Guide is <the Order Guide>
Advanced:
(function executeRule(current, previous /*null when async*/ ) {
gs.setRedirect('https://bynetdev.service-now.com/csm?id=purchase_orders');
})(current, previous);
BUT NO LUCK.
Ideas?
- Labels:
-
Service Portal

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2020 12:08 PM
I've used that same type of business rule before successfully, but I don't believe I've had both Catalog Items and Record Producers in the same order guide before. Where are actually being directed to when you submit that order guide?
Michael D. Jones
Proud member of the GlideFast Consulting Team!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2020 12:46 PM
I just tried this in an Orlando instance and it seemed to work with no issues as long as one of the included items was a Catalog Item. When I don't include the catalog item when ordering, the redirect is not triggered. I put the same type of rule on the table that the Record Producer was targeting (just on insert, after - can't specify the order guide) and that seemed to work as well. So you may just need to figure out what record you're landing on after you submit and pivot where you put your rule.
Hope this helps!
If this was helpful or correct, please be kind and click appropriately!
Michael Jones - Proud member of the CloudPires Team!
Michael D. Jones
Proud member of the GlideFast Consulting Team!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2020 01:33 PM
i am redirecting to ?id=requests page instead my page after submit , I'm not finding why

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2020 01:45 PM
That's what I saw as well, with the record producer.
Try putting your BR on the table your producer is targeting and see if that works - it did for me.
Hope this helps!
If this was helpful or correct, please be kind and click appropriately!
Michael Jones - Proud member of the CloudPires Team!
Michael D. Jones
Proud member of the GlideFast Consulting Team!