Open a record producer form based on the selected value on the catalog item

sriramsaishasha
Tera Contributor

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

6 REPLIES 6

Voona Rohila
Kilo Patron
Kilo Patron

Hi @sriramsaishasha 

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

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

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

Thank you, I will also check the approach suggested by Niholas