Skip to content

This guide is for builders who want people to see exactly the records that matter to them — my open tasks, requests from my department this month, invoices over 10,000. By the end you will be able to build a saved query on an entity, make it follow the person using it or today’s date, ask for a value when it runs, offer it as a one-click quick filter or a coloured tag, and reuse it in views, reports, reference fields and dashboards.

A query is a saved filter over the records of one entity. It is made of conditions, and each condition has three parts:

PartWhat it isExample
FieldWhat to testStatus
OperatorHow to compare=
ValueWhat to compare withOpen

Conditions are combined in a group: All conditions are met (every condition must hold) or Some conditions are met (one is enough). A group can contain further groups, so you can write “Status = Open and (Priority = High or Due date < today)”.

Take a Tasks entity. My open tasks is two conditions — Assigned to = @me and Status = Open — under All conditions are met. Because @me stands for whoever is looking, one saved query shows each person their own tasks.

  1. Open the entity’s designer: Administration › Applications › Modules, open the module, open the entity, and edit it.
  2. Select the Queries tab. It has three sub-tabs: Queries, Tag groups and Quick filter groups.
  3. On Queries, select + (New Query).
  4. Build the conditions — see Build the conditions. Select Condition to add a condition and Group to add a nested group; Clear starts again.
  5. Under Query Settings, enter the Query Name (in each language, 3 to 128 characters).
  6. Optionally tick Quick Filter to offer it as a quick filter (see Quick filters), or Save Tag to colour matching records (see Tags).
  7. Select Save Query.

In the list, each query is marked Normal Filter, Quick Filter or Parameterized. Select + on one of those group headings to start a new query of that kind.

Since 1.10 the query dialog always saves. To try out conditions without saving them, use the Filter panel on the entity’s entries list instead.

You can test:

  • The record’s own fields — for example Task title or Assigned to.
  • The record’s details — Created by, Creation date, Updated by, Update date.
  • Fields of a related record — pick a reference field and drill into the record it points to, for example Department › Region = West. Each level adds work, so keep chains short.
  • Workflow details — on an entity with a workflow, the current step, its owner, previous steps and their owners. This is how you filter for “open” requests: current step is not the final step.
  • Calculated (virtual) fields — filtered and sorted on their calculated value. If the calculation fails for a record, the list still loads and a warning is shown.

The contents of a JSON field cannot be filtered or searched. If you need to filter on a piece of data, make it a real field.

Protected fields in a condition Since 1.10

Section titled “Protected fields in a condition Since 1.10”
  • An encrypted field cannot be used in a condition at all — its stored value is scrambled, so nothing could ever match.
  • A sensitive field can be used in a query you build here in Administration, even if you may not read its values. People using the query through a view still need permission to read the field, and the results still show the value masked to anyone without it. See Sensitive fields.

The operators offered depend on the field’s type:

On screenMeansFor
= · !=equals · does not equalevery type
< · <= · > · >=before/after, less/more thannumbers and dates
contains · doesn’t containhas the text anywhere (case does not matter)text
starts with · doesn’t start withbegins with the texttext
is like · isn’t likematches a text patterntext
in · not Inis one of a listreferences, categories, users
is empty · is filledhas no value · has a valueevery type
undersits below a record in a tree (hierarchy) Since 1.2tree entities

Fields with several values — a multi-value field, or a field inside a repeatable block — can first be reduced to one value: Count of values, Sum, Average, Min, Max, First Value or Last Value. For example, Items Count of values > 3 finds records with more than three item rows.

Without one, the condition uses Any Value: it matches when any of the values meets it. Since 1.8 a condition saved without a choice here is treated as Any Value, in queries and in reaction filters alike.

“is empty” and “is filled” Since 1.8

Section titled ““is empty” and “is filled” Since 1.8”

is filled matches only a record where the field is present and has a value; is empty matches a record where the field is missing, blank or an empty list. Queries, reaction filters and reference-field lists all agree on this.

One limit to plan around: a condition looks at a field across all rows of a repeatable block at once — it cannot ask “does at least one row have this filled”. A block with one empty row and one filled row counts as empty. If you need row-by-row logic, add a separate marker field on the record.

Choose where the value comes from:

Value sourceUse it forExample
FixedA value you choose nowStatus = Open
FieldAnother field of the same recordAssigned to = Updated by
PointerA value that depends on who is looking, or whenAssigned to = @me
ExpressionA formula, for cases the others cannot express—
ParameterA value supplied when the query is usedsee below

The Pointers offered depend on the field:

  • Users and groups — @me (the person looking), @myGroups (their groups), @myRoles (their roles), @myOrgUnit (their organizational unit), and more for group membership.
  • Dates — @today, @now (today with the time), @StartOfDay, @StartOfWeek, @StartOfMonth, @StartOfYear.

With Expression, the hint under the box says what the formula must return — for example a yyyy-MM-dd date for a date field.

Ask for a value when the query runs: parameters

Section titled “Ask for a value when the query runs: parameters”

A parameter is a named blank in a condition that is filled in later — for example Department = the parameter dept.

  1. In a condition, choose Parameter as the value source and enter a parameter name.
  2. Save the query. It is marked Parameterized.

Where the value comes from depends on where the query is used:

  • As a view’s source or in a reference field — you set the values in that view’s or field’s own settings.
  • As a quick filter Since 1.10 — when someone turns it on, a Query parameters dialog asks them for each value. The filter then runs with those values; if they save it, it is saved as a new query of their own.

Good to know:

  • The same parameter name can be reused in several conditions only on fields of the same type.
  • Removing every parameter from a query turns it back into a normal one. A normal query cannot be turned into a parameterized one later — create a new query.
  • A quick filter with a parameter cannot be switched on by default in a view, and is left out of template exports (the view says so). The quick export applies it with the values the person entered.
  • Since 1.10 a Parameterized badge marks these queries wherever you pick a query in Administration.

A quick filter is a query people can switch on from an entries list with one click; its conditions are added to whatever they have already filtered.

  1. In the query, tick Quick Filter.
  2. Enter the Name people will see (left blank, it is taken from the query name).
  3. Optionally choose a Group — or create one with New group.
  4. Select Save Query.

Which quick filters a list offers, where they appear and whether one is on by default is set per view — see Quick filters, groups and ordering. People reach a quick filter only through a view that lists it.

A quick filter group collects related quick filters — for example By region with North, South and West — so a view can offer the whole set at once.

  1. On the Queries tab, open Quick filter groups and select New quick filter group.
  2. Enter the Quick filter group name in each language.
  3. Use Add existing filter or Create quick filter to fill it.

A quick filter belongs to at most one group; adding it to another group moves it (the dialog shows Moves from …). Group names must be unique on the entity. Deleting a group keeps its quick filters — they just become ungrouped.

A tag marks the records a query matches, with a colour people see in the list.

  1. In the query, tick Save Tag.
  2. Enter the tag’s Name, and choose its Color and Icon.
  3. Choose a Tag Group, or create one with New group.
  4. Select Save Query.

People apply tags from the entries list’s tag options, as a coloured frame or background. Tag groups are managed on the Tag groups sub-tab, in the same way as quick filter groups.

A saved query can be the source of:

  • Views — the view shows only matching records.
  • Reference fields — the field offers only matching records to choose from.
  • Reports (web only) — the report’s rows.
  • Summaries and dashboards — the records a summary counts or totals.
  • Reactions — which records a reaction runs for.
  • Grafana panels Since 1.6 — a panel can run a saved query, and its parameters become dashboard variables. See Grafana dashboards.

On the Queries sub-tab, each query has:

  • Apply query — shows the matching records on the entity’s entries list.
  • Edit — change it and select Save Query.
  • View Dependencies — see where the query is used before you change it.
  • Delete This Query — removes it permanently. A query created by the platform, or one used by a virtual, joiner or aggregator entity, cannot be deleted.

The list’s toolbar can search query names and their conditions, filter by type, tag, field, who created or changed it and when, sort by last modified, created date or name, and group by type, tag or not at all.

You wantConditions
Only my recordsCreated by = @me
Records assigned to my teamAssigned group in @myGroups
Created this monthCreation date >= @StartOfMonth
Due in the past and not doneDue date < @today, and Status != Done
Has more than three itemsItems Count of values > 3
Department chosen when usedDepartment = Parameter dept

Searching, sorting and entry state on a list

Section titled “Searching, sorting and entry state on a list”

These belong to the entries list rather than to a saved query:

  • Search looks across every searchable field. A field is searchable when a view enables search on it, or when the field’s own search option is on.
  • Sorting is newest-changed first by default. People can pick a field and a direction from the sort menu, or use a column’s sort icon.
  • Entry state — people can include archived or obsolete records (records that no longer match the entity’s current design), when the view allows it.

To count or total records rather than list them, use a summary — see Summaries & dashboards. To add totals under a list, see Totals & grouping.

ProblemWhat to check
A field is missing from the field listEncrypted fields and JSON contents cannot be filtered.
A date condition matches nothingCompare date-only fields with @today or @StartOf…, not @now.
A repeatable-block condition looks wrongA condition reads all rows at once; see is empty and is filled.
The query cannot be saved: name already usedQuery names must be unique on the entity.
People are asked for a value every timeIt is a parameterized quick filter — that is by design.
A query cannot be deletedIt is used by a virtual, joiner or aggregator entity, or was created by the platform. Check View Dependencies.

Platform 1.10.0 · Backend 1.11.0-alpha.11 · Frontend 1.11.0-alpha.6 · Mobile 1.10.2 · Chart 1.11.8 · Gateway 2.6.11 · MCP 0.2.0 · Grafana DS 1.2.0Docs build 2026-11-27