I have written a Catalog ui policy in Record producer

Srinivasu2
Tera Contributor

Hi Community,

 

I have written these catalog Ui policies in record producer for visible and mandatory of choice variables, these ui policies work in ESC Portal portal form but doesn't work in incident form even though we check the option 
"Applies the Target Record".

 

 

Srinivasu2_0-1711938421748.png

 

Srinivasu2_1-1711939340123.png

 

why these Ui policies don't work on incident form even though we check the option called "Applies on the Target Record"

 

1. Do i need to configure again same kind of  ui policies on incident form as well?

2. Do we have any other option?

 

Regards,

Srinivasu 

 

10 REPLIES 10

Siva Sai Teja
Tera Expert

Hi @Srinivasu2It is an expected behavior. The catalog UI policies act on the variables and not on the form fields.

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0965252

Please Mark 

SivaSaiTeja_0-1711942383538.png

 

Correct if this solves your query and also mark 

SivaSaiTeja_1-1711942383540.png

 

Helpful if you find my response worthy based on the impact.

 

Thanks

Please Mark Correct if this solves your query and also mark  Helpful if you find my response worthy based on the impact.

Thanks

Tai Vu
Kilo Patron
Kilo Patron

Hi @Srinivasu2 

Could you confirm if the Variable Editor is visible on your Incident form?

Given that you've activated "Applies on the Target Record," it should work in both views.

 

It works totally fine per my check.

Timi_0-1711945162712.png

Timi_1-1711945165688.png

 

 

Cheers,

Tai Vu

Hi @Tai Vu,

 

Could you confirm if the Variable Editor is visible on your Incident form? - where can we check this?

 

Thanks,

Srinivasu

Harish KM
Kilo Patron
Kilo Patron

Hi @Srinivasu2 Ensure variable editor is visible on the form to make variables as mandatory. You can check in form layout as shown in below screenshot. Add the variable formatter to the form for variables to appear on incident

HarishKM_0-1711947266417.png

 

Regards
Harish