LIST COLLECTOR Type Variable Dynamic filter for Catalog Item

Sai Sree
Tera Contributor
  • Hi, I have a requirement in servicenow. please help me.

    there is a Catalog Item "A", there is a List Collector Type variable "Location" referencing cmn_location Table from "Variable Set" and displaying 10 locations in "A" Catalog Item.

    now I don't want to display 10 locations in the "A" Catalog Item, I want to display a particular 1 or 2 locations in the "A" Catalog Item without creating a new Variable and without modifying a "Variable Set" reference qualifier in the Variable.

    if I modify anything in the reference qualifier in the Variable in Variable Set, it will impact another Catalog Items correct.

    how to display only 1 location in A Catalog Item.

    and also the location should be searchable in the "location" variable in Service Portal.

    Can you please provide Script Include and Client Script reliable approach, or any other approach in service now recent version please please.

1 REPLY 1

Brad Bowman
Mega Patron

You cannot do this without creating a new variable or changing the existing qualifier.  The good news is this article explains a way to change the existing qualifier in such a way that it doesn't disturb the existing Catalog Items, but also introduce a new qualifier for this one Catalog Item.

https://www.servicenow.com/community/servicenow-ai-platform-articles/yes-you-can-effectively-set-or-...