How to fix when I want to hide variables used in Catalog UI policy

Mi4
Tera Expert

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,

5 REPLIES 5

abhijitchil
Giga Contributor

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

Hi,

Thank you.

Does that mean utilizing the Hidden variable checkbox?

Ankur Bawiskar
Tera Patron
Tera Patron

@Mi4 

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.

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

Hi,

Thank you.

So, does this mean that only variables should be deactivated and the catalog UI policies should not be modified?