The CreatorCon Call for Content is officially open! Get started here.

How to create Catalog UI Policy on Incident (record producer) to apply UI Policy action to variable?

Bird1
Mega Sage

I am creating 1 record producer to Incident table. There are some variable in this catalog.

What I need to do is to create UI Policy if Incident state is in Resolved, the variable field must be mandatory to fill in.

I cannot set the condition on Incident state, I could see only variable field. Anyone can help?

find_real_file.png

1 ACCEPTED SOLUTION

Hi,

you have not read my earlier response.

You need to create normal client script on incident table and not catalog client script and then use script I shared

find_real_file.png

Regards
Ankur

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

View solution in original post

11 REPLIES 11

I thought about this way, but unfortunately that in UI Policy Actions, I could not go to variable I need to set as mandatory.

In that scenario you need to go with OnChange client script. Create a onchange Client script on incident table.

Let me know if you stuck anywhere