How to fix when I want to hide variables used in Catalog UI policy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-30-2025 04:43 AM - edited ‎04-30-2025 04:44 AM
Hi,
I am setting a catalog UI policy for a Record producer. A user requested that I inactivate an variables A that had been used up until now. I inactivated the unnecessary variables A. Then I inactivated the Catalog UI policy in which variables A was used.
However, it seems that variables A was used in the when to apply tab of the Catalog UI policy, and its value was automatically rewritten to another active variables (for example, variables B instead of A).
In this case, How should I fix it?
Should I just inactivate variables A and not fix the Catalog UI policy?
Best Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-30-2025 04:50 AM
I would say instead of inactivating variable, you can plan to hide it from catalog form if not needed.
Regards,
Abhijit
ServiceNow MVP
ServiceNow Buddy Owner
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-30-2025 06:37 AM
Hi,
Thank you.
Does that mean utilizing the Hidden variable checkbox?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-30-2025 05:02 AM
you can simply inactivate the variable
However, it seems that variables A was used in the when to apply tab of the Catalog UI policy, and its value was automatically rewritten to another active variables (for example, variables B instead of A). -> this should not have happen
Any catalog client script or catalog UI policy which determines value of this even if that is active will have no impact on other variables
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-30-2025 06:40 AM
Hi,
Thank you.
So, does this mean that only variables should be deactivated and the catalog UI policies should not be modified?