
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2019 03:53 PM
Greetings,
I'm wondering how I would go about using
producer.redirect
inside my record producer to redirect to the newly created record? Currently it redirects by default to the portal, but I'd like it to redirect to the actual Incident (INC00001) that it creates when submitted.
I've tried this and it doesn't redirect to the record being created by the producer, it merely redirects to the Incidents list.
producer.redirect = "https://mydomain.service-now.com/nav_to.do?uri=%2Fincident.do%3Fsys_id%3D";
Any thoughts would be much appreciated.
Solved! Go to Solution.
- Labels:
-
Personal Developer Instance

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2019 05:05 PM
If your record producer is producing a record in particular table and if you want to redirect to the record that has been created after submission in that table you need not add any script in the script field
You can just configure your record producer form layout and add this field shown below
If you want to get redirected to a different URL then you have to use producer.redirect and all
Hope this helps
Thanks,
Siva
MARK THIS RESPONSE AS CORRECT IF THAT REALLY HELPS 🙂

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2019 04:00 PM
Can you try
producer.redirect = 'incident.do?sys_id=' + current.sys_id;

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2019 04:11 PM
I'll give it a try and report back. Thanks for the speedy response! Much appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2019 04:14 PM
Depending on what version you're on (or planning on being on soon), I would look at this, as it looks like this might change slightly: https://docs.servicenow.com/bundle/london-it-service-management/page/product/service-catalog-manage...

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2019 05:05 PM
If your record producer is producing a record in particular table and if you want to redirect to the record that has been created after submission in that table you need not add any script in the script field
You can just configure your record producer form layout and add this field shown below
If you want to get redirected to a different URL then you have to use producer.redirect and all
Hope this helps
Thanks,
Siva
MARK THIS RESPONSE AS CORRECT IF THAT REALLY HELPS 🙂