How to create a popup on incident form for a service field

srilakshmi9
Mega Contributor

Hello,

we have one record producer named as "Report an Issue" , Upon selection of "category" in "report an issue" record producer pop up is coming to display that you are raising issue for "name of the service" service and have a user clickable option "Ok".

Could you please help me on this

1 ACCEPTED SOLUTION

Hi,

there is another checkbox on Catalog Client Script:

Applies on Target Record

If you select this checkbox then it would run on the form as well

find_real_file.png

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

View solution in original post

38 REPLIES 38

Hi,

there is another checkbox on Catalog Client Script:

Applies on Target Record

If you select this checkbox then it would run on the form as well

find_real_file.png

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Hi Ankur,

sorry for the delay

I have tried the catalog client script but the alert msg is not coming in the incident form it is coming in portal side .

find_real_file.png

 

 

and in catalog client script i have mentioned as shown in below ss please correct me if i'm wrong.

find_real_file.png

You have to write a similar script on the incident form also to make it work on the incident form.

 

As I told you before also 

 

catalog client script and normal client script are different.

 

Hi,

Your UI Type should be ALL

Remember your onChange catalog client script will run on Target record if you change the Urgency variable

I think you are getting confused.

You can use catalog client script which Applies on Target Record to get the business_service field value as well

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Yes Ankur got it and done changes like below ss and it is not giving an alert in incident form.

find_real_file.png