UI Policy not working on native view of record producer

Swapnil Srivas1
Tera Contributor

While working on record producer, when clicking on "try it" UI action, the Catalog UI policies are not working on the view that appears(catalog_cat_item_view). The same catalog UI policies are working on the portal view. Is there a way we can fix it?

22 REPLIES 22

Hello @Swapnil Srivas1 

 

I already mentioned in my above comment that in native for record producers this will not work, because it has access to both the field in system and in catalog item also. So definitely it will be confused. Not only this is a conflict, even if there was no conflict, the system will be confused, because there are two fields with same name. 

 

Kindly mark my answer as helpful and accept solution if it helped you in anyway. This will help me be recognized for the efforts and also move this questions from unsolved to solved bucket. 

 

Regards,

 

Shivalika 

 

My LinkedIn - https://www.linkedin.com/in/shivalika-gupta-540346194

 

My youtube - https://youtube.com/playlist?list=PLsHuNzTdkE5Cn4PyS7HdV0Vg8JsfdgQlA&si=0WynLcOwNeEISQCY

@Swapnil Srivas1 

you are having normal UI policy on your target table and not catalog UI policy.

If you want to run normal UI policy then why are you running your catalog one on Target Record

Uncheck "Applies to Target Record"

Normal UI policy is showing/hiding fields or variables?

In normal UI policy when you create UI policy actions you can only select fields and not variables.

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

Even if I uncheck "Applies to Target Record", it still doesn't work on native view.
I have checked "Applies to Target Record" because on variable editor it acts same way as on the portal.

@Swapnil Srivas1 

Even if I uncheck "Applies to Target Record", it still doesn't work on native view. -> what does this mean? Does it not work when you click "Try it" in record producer?

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

Yes.