Catalog UI Policy behavior differences between ESC portal and ITIL view (record producer variables)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Hi Team,
I have implemented a record producer in which I have a request type dropdown with 2 options - Option1 and Option2. When Option1 is selected, it should display variableA and when Option2 is selected it should display variableB. This is working as expected in Portal View however in ITIL view (Try it of the record producer)- it did display both variables when I select option1 or Option2.
I have implemented Catalog UI policy to handle the visibility of variables. Please suggest.
Thanks in advance!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Ensure UI Type - ALL for your catalog UI policy so that it runs in Native as well
see below screenshot
Even though you are not using script in your UI policy set that to ALL and test once
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Hi @snehalkausa,
Make sure to select "Applies on the Target Record" on the Catalog UI Policy form.
Thanks
Anand
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Hi @snehalkausa
For your requirement, you need to create two Catalog UI Policies—one for Option 1 and another for Option 2.
For both Catalog UI Policies configured for the Record Producer, make sure that under the When to Apply section:
- Applies on a Catalog Item view — set this checkbox to true.
- Applies to — set this to Catalog Item.
I verified this behavior in my PDI. When Applies on a Catalog Item view is set to false, both variables are displayed even when either Option 1 or Option 2 is selected.
attached below
If my response helped, please mark it as Correct.