Docs
On this page
reference1 min readApplication: Platform

Reference qualifiers

The fields of a reference qualifier, which limits the records a reference field offers, with a scripted example.

A reference qualifier limits the records a reference field offers, for administrators who need, say, a Location field to show only the locations of the record’s company. This page lists its fields and shows a scripted qualifier.

For the same filter on Service Catalog questions, see Filter the records a reference question offers.

Reference qualifier fields

Reference qualifiers are kept under Application → Field → Reference qualifiers. The examples set up a qualifier on the Location field of Incident.

Field Required What it holds Example
Name Yes The name of the qualifier. Incident - Location based on selected Company
Table Yes The table that has the reference field. Incident
Field Yes The reference field the qualifier applies to. Location
Active No Whether the qualifier applies. The default is Yes. Yes
Target table No Filled in for you. The table the reference field points to. The qualifier filters this table. Location
Description No A note for administrators. Shows the locations of the incident’s company.
Advanced No Set to Yes to use Script instead of Condition. No
Condition No A condition built with the condition builder. It runs on the target table, not on the table with the field. See the image below.
Script No A script that returns a query on the target table. Use it when the condition depends on the record’s own values. See the example below.
A reference qualifier’s Condition built with the condition builder.

Scripted qualifiers

A script runs when the user opens the reference field. It runs against the target table, and current holds the record the user is editing, with the values currently on the form. The script returns a table record query. The query functions are described in Table.

This script limits Location on an incident. If the incident has a company, the field offers selectable locations of that company. If not, it offers all selectable locations.

if (current.Company.hasValue()) {
    AND(
        EQUAL("Company", current.Company.value()),
        EQUAL("Selectable", true)
    );
} else {
    EQUAL("Selectable", true);
}
Last updated 18 October 2026commit f37120b6b82bChris Jones
Back to top