Record producer submitted within an Order Guide via Service Portal redirects to a page with no info
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-12-2024 07:42 AM
Hello,
Record producer submitted within an Order Guide via Service Portal redirects to a page with no information about the submitted request
After submitting a record producer with the SC Order Guide widget, the user is redirected to:
https://[instance-name].service-now.com/sp?id=requests
However, this page does not contain info about the newly submitted request, and thus the user does not know whether the ticket was submitted successfully or not.
My requirement is It should be redirect to the page that other record producers are redirected to.
https://xxx.service-now.com/csm?id=ticket&is_new_order=true&table={table_name}&sys_id=582ab57c3bec21...
Any Ideas?
Thanks in advance

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-12-2024 07:46 AM
@Vinay49 You can use
producer.portal_redirect = "sp?id=sc_home"; //Replace with your page id
In your record producer script to set the redirect.
For more information please refer to https://docs.servicenow.com/bundle/washingtondc-servicenow-platform/page/product/service-catalog-man...
Hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-12-2024 09:57 PM
Hi Sandeep,
Thanks for your response.
I have tried this. But no Luck.
As I have used the record producer in order guide, the above script is not working.
If I remove the record producer from order guide & submit the record in it, then page will redirect to that what we want as per the above script.
In my case, it is redirecting to "https://[instance-name].service-now.com/sp?id=requests" even we used the above script which you suggested