logo

NJP

Beautiful and very useful enhancements for catalog variables – Quebec

Import · Jan 25, 2021 · article

Can you just think for a minute and answer below questions, considering your instance version is NOT Quebec?

  1. How do you make a catalog variable mandatory?
  2. How do you make checkbox options mandatory?
  3. How do you inactivate a specific choice value from a select box type of variable?

Ho that’s easy right, yes those can be done by applying Catalog UI Policy or Catalog Client Scripts.

Have you ever wondered, why there is no simple checkbox (Mandatory) like any other form fields (refer the screenshot) to make a variable mandatory?

image

Ho yeah, but no clue why platform didn’t provided that simple check box for variables earlier. Maybe we can figure out the reason some day or share your view on the same if you have any.

ServiceNow adding cool set of features/enhancements in each release, as always. This time in Quebec, short and easy way of completing #1 and #2 questions mentioned above developers can simply configure checkbox like any other form field (Dictionary entry). So avoid Catalog UI Policies/Catalog Client Scripts to make variables mandatory or read-only, going forward from Quebec.

image

image

Similarly, we can find a “Inactive” checkbox on the Question Choices form to inactivate unused choice values from the dropdown.

image

To use these features, no additional subscription or plugins required as these are core platform features comes out of the box.

Happy Configuration!!!

View original source

https://www.servicenow.com/community/now-platform-articles/beautiful-and-very-useful-enhancements-for-catalog-variables/ta-p/2318510