Docs
On this page
task2 min readApplication: Service Catalog

Filter the records a reference question offers

Create a reference filter that limits the records a catalog Reference or Multiple reference question offers, and apply it to questions.

Use a reference filter when a Reference or Multiple reference question should offer only some records of its table, for example only the locations in the country the requester chose. One filter can serve any number of questions on the same table.

Before you begin

  • You need the administrator role.
  • The question exists and its Reference table is set. See Question fields.
  • For forms other than catalog forms, such as an incident form, use a reference qualifier instead. See Reference Qualifiers.

Steps

  1. Go to Data model → References & queries → Reference filters and select New.

    The Reference filters item in the References & queries menu.
  2. Fill in the filter’s fields.

    Field Description Example
    Name The filter’s name, shown when you pick it on a question. Required. Location must be selectable
    Table The table the filter applies to. Questions on this table can use it. Required. Location
    Active The filter applies only when active. An inactive filter restricts nothing. Default Yes. Yes
    Application The application the filter belongs to. Your application
    Condition A condition on the table’s records. It is combined with the script, if any. Selectable is true
    Script A record query for rules the condition cannot express, such as one that depends on another answer. It is combined with the condition. See the next step
    The empty Create Reference filter form, with Name, Table, Condition and Script.
  3. Build the condition in the Condition field.

    The Asset type - active, can be borrowed filter: three condition rows on the ITSM Asset Type table.
  4. Optional: write a Script that returns a table record query. The catalog form and its answers are available as current, so current.Country() is the answer to a question named Country. This script offers selectable locations in the chosen country:

    AND(
        EQUAL("Selectable", true),
        EQUAL("Country", current.Country())
    )
    

    The query functions are described in Table.

  5. Select Create.

  6. Go to Catalog & templates → Catalog → Questions and open the Reference or Multiple reference question on the same table.

  7. On the Question type tab, select the filter in Reference filter and save.

    The Question type tab of a Reference question, with Reference table and Reference filter.

Result

The question now offers only the records that match both the condition and the script. Repeat the last two steps for each question that needs the filter.

Last updated 3 December 2026commit 6777698daac5Chris Jones
Back to top