After submitting form using 'Submit Record Producer (SP)', next page is not opening
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
A form is there, where we are putting all mandatory fields. However when submitting the form using 'Submit Record Producer (SP)', it should navigate to a next screen and should show some case number with its details.
Currently, it is not navigating to the next screen and execution gets started for the next steps. Though I applied enough wait time, so that submission should be done and it can navigate to the next screen.
Please suggest me solution for the same and help me out in figuring out that why it is not navigating to the next screen?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
this is for ATF?
what's the error shown?
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hello @indusahu ,
To redirect a user to a specific screen and display the newly created case number and details, configure the redirection natively inside the Record Producer's Server Script using producer.portal_redirect.
1.Navigate to Service Catalog > Record Producers and open your specific record producer.
2.Scroll to the Script field at the bottom of the definition.
3.Add the producer.portal_redirect property using the current.sys_id and current.number of the newly created record.
// Ensure you target your specific custom page and pass parameters
producer.portal_redirect = "sp?id=your_custom_page&sys_id=" + current.sys_id + "&number=" + current.number;
4.On your destination Service Portal page (your_custom_page), create or use a widget that reads the sys_id or number URL parameters via $location.search() (or $scope.page.g_form / data fetched via a server script) to query and render the case details.
"If you found my answer helpful, please like and mark it as an "accepted solution". It helps future readers to locate the solution easily and supports the community!"
Thank You,
Sujit Jadhav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @indusahu,
Look for the Standard Ticket Configuration, where there is already an OOTB option that allows you to add that ticket page, which shows the summary type of the ticket, if that's what your actual requirement is.
Let's go through this System Navigator -> Standard Ticket Configuration -> Incident
Let me know if this helps!! 😉
If you find my answer useful, please mark it as helpful and correct. ‌‌😊
Regards,
Soham Tipnis
ServiceNow Developer || Technical Consultant
LinkedIn: www.linkedin.com/in/sohamtipnis10
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
@SohamTipnis can you please reattach the screenshot. It's blurr.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
