Why ui policy not working on the HR case form?

Deepika61
Tera Contributor

Hi All,

Actually firstly i have created one RP and mapped to few fields on the backend, and created one ui policies to show case fields based on the choice selected on the other field, its working, So now i have created another RP which have some fields are same as first RP and mapped with same fields of First RP, Now that ui policies not working on this Particular fields for this HR service?

 

Actually fields are same but HR service is different

 

Please help me to solve this

 

Thanks

Deepika

 

8 REPLIES 8

JulianLemcke
Kilo Sage

Hi Deepika,

 

Are you sure your values are 100% correct (check the XML)? Is this UI Policy running on the same view (Workspace, UIB, Default, GLOBAL etc.)? And most importantly, if you say that the "HR Service is different" do you have the same CoE table?

 

Cheers,

Julian

Ankur Bawiskar
Tera Patron
Tera Patron

@Deepika61 

if those 2 RPs are different then why not have separate UI policies?

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

@Ankur Bawiskar 

Basically those are RP's , but have most of similar fields, and more over on the portal side we have different ui policies only, but on the backend  for first RP, we have created fields to map with these variables, now two RP's are refering same COE, because of that i have map these 2nd RP variables  map with already created fields (which are for 1st RP).

 

On the Backend we have already ui policies for those fields, but those are not working when Case created through 2nd RP

 

Basically two RP's are mapped with same fields on the backend, so already we have ui policies on those fields and working fine for first RP, but not working for Another RP,?

 

if we are create different ui policies on same field, i think it will create messy?

 

Thanks

Deepika

abirakundu23
Mega Sage

Hi @Deepika61 ,

How many UI Policy you have created for 2 different RP with same fields ? If different UI policies with same fields i would suggest please change order of UI policy & check it.

 

Please mark as helpful or correct if my suggestion helpful.