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 Application → Field → Reference filters and select New.

  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. Default Yes. Yes
    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
  3. Build the condition in the Condition field.

    The Condition field of a reference filter with one condition row.
  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 Administration → 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 with the Reference table and Reference filter fields set.

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 18 October 2026commit f37120b6b82bChris Jones
Back to top