Open a record producer form based on the selected value on the catalog item
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2024 06:58 AM
Hello Everyone,
I have a requirement, on the catalog item form we have a field "ticket type" and ticket type field is choice field.
Under ticket type field two options are available 1) Submit a request and 2) Report an incident.
If user select the Report an incident option it should redirect to a record producer and provide a user to create a incident.
If user select the Submit a request option it should stay on the catalog item form and user should able to submit a request
Can anyone please help me to achieve this functionality?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2024 07:10 AM
You can write onChange client script and use top.window.open(url,"_blank"); to open the URL in new Tab.
//sample logic
if(newValue == 'Report an incident')
{
var url = '';//place your URL here
top.window.open(url ,"_blank");
}
Mark it helpful if this helps you to understand. Accept solution if this give you the answer you're looking for
Kind Regards,
Rohila V
2022-25 ServiceNow Community MVP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2024 07:15 AM
Hi Rohila,
Thank you for the response.
In the URL variable I need to place the record producer URL
Am I correct?
Can you please help me
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2024 07:32 AM
Yess
You can also go with order guide approach suggested by @Nicholas_Gann
Mark it helpful if this helps you to understand. Accept solution if this give you the answer you're looking for
Kind Regards,
Rohila V
2022-25 ServiceNow Community MVP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2024 11:00 AM
Thank you, I will also check the approach suggested by Niholas