dynamic groups
A dynamic group is defined by a saved query rather than a device list. Its membership updates itself as the estate changes, which makes it the right choice for any set defined by a rule — every out-of-warranty till, every device on an old agent version, every kiosk at a flagship site.
how criteria are structured
Criteria form a recursive boolean tree built from two kinds of node:
| Node | Carries |
|---|---|
| Group node | An operator — AND, OR or NOT — and child nodes |
| Condition node | A constraint on a single field |
Because groups nest, you can combine and nest ordinary conditions freely: an AND containing an OR containing further conditions. Metric conditions are the exception — see where metric conditions may be placed.
Two structural rules to know:
- NOT takes exactly one child. To negate several conditions, put an AND or OR inside the NOT and place the conditions in that.
- Multiple constraints on the same field are expressed as two sibling conditions inside an AND. A range on one field, for example, is two conditions — one lower bound and one upper bound — not a single condition with two values. (Number and date types also offer a
betweenoperator, which does this in one condition.)
the live preview
As you build, a live preview debounces and returns a matching device count plus the execution time.
A blank preview means "still editing", not "zero matches".
The preview deliberately stays silent while any condition still has an empty value. If you have just added a condition and not yet filled in its value, the absence of a count is expected — it is not telling you the query matches nothing.
Fill in every value, then read the count.
available fields
| Group | Fields |
|---|---|
| Identity | Name, Hostname, Serial Number, Tags, Description, Notes, External Reference |
| Status & Type | Status, Type, Lifecycle Status |
| Hardware | Manufacturer, Model, CPU Model, CPU Cores, RAM Size (MB), Disk Size (MB) |
| OS & Agent | OS Type, OS Version, Agent Version |
| Network | IP Address, MAC Address, Network Probe |
| Location | Location, Location Tags, Location Name |
| Organizational | Department, Floor, Zone |
| Lifecycle | Purchase Date, Warranty Expiry, Last Maintenance, Last Seen, First Seen, Created At |
| Software | Software Installed |
| Metrics | CPU Usage %, Memory Used (MB), Disk Usage % |
RAM Size and Disk Size are both in MB here, unlike the device edit form where disk is entered in GB. A query for disks under 250GB is Disk Size < 256000, not < 250.
software installed
Software Installed matches by installed application name.
Negative operators on Software Installed mean the device has no matching application.
Software Installed not contains "Acme POS" matches devices where no installed application matches — that is, the software is absent. This is the correct way to find machines missing a required application, but read it carefully: it is a statement about the whole installed inventory, not about one particular entry in it.
location fields
Location, Location Name and Location Tags let a device query reach into the site it belongs to. Combining device tags with location tags is the most useful pattern in the builder — see tags.
operators by type
| Type | Operators |
|---|---|
| String | equals, not equals, in, not in, contains, not contains, starts with, ends with, matches, is null, is not null |
| Number | equals, not equals, >, ≥, <, ≤, between, in, not in, is null, is not null |
| Date | before, after, between, within days, older than days, is null, is not null |
| Boolean | is true, is false, is null, is not null |
| Array | has any, has all, has none, is empty, is not empty |
| Enum | in, not in |
String matching is case-insensitive by default. You do not need to worry about Flagship versus flagship when writing criteria — though you should still keep your tags consistent, since the Tags tab on the map lists them as distinct entries.
the matches operator
The string operator shown in the dropdown as matches is a regular-expression operator, but it behaves as a plain contains match. Regular expression syntax is not evaluated.
Use contains instead, and do not build criteria that depend on regular expressions — anchors, character classes and quantifiers will be treated as literal characters.
date operators
within days and older than days are relative and re-evaluate each time the group runs. Last Seen older than 7 days stays correct permanently, whereas a fixed before date will silently stop meaning "recently" as time passes. Prefer the relative operators for anything about recency.
metric fields
CPU Usage %, Memory Used (MB) and Disk Usage % are evaluated in a second pass against live metric data.
A query mixing metric fields with other fields therefore does more work than one using only device attributes. This is not a reason to avoid metric criteria, but it is worth keeping such groups reasonably scoped — constrain by location, type or tag alongside the metric condition rather than evaluating a metric across the entire estate.
where metric conditions may be placed
A metric condition must be a direct child of the top-level AND group. That second-pass evaluation is why: the metric filter narrows a device set that the main query has already produced, so it can only ever remove devices, never add them back.
The group therefore rejects a query with a metric condition:
- inside an OR group,
- inside a NOT group,
- inside any nested group, even a nested AND,
- or where the top-level operator is anything other than AND.
You get an error saying that live metric conditions are only supported inside an AND group at the top level.
In practice this means a metric condition can only ever narrow a group. You cannot express "devices at the flagship sites or any device over 90% disk", and you cannot express "devices that are not over 90% disk". Restructure the query so the metric sits alongside your other criteria at the top level, or use two groups.
A valid shape looks like this — the metric condition and the nested logic are siblings under one top-level AND:
AND
├── Location in ("Flagship North", "Flagship South")
├── Disk Usage % ≥ 90
└── OR
├── Device Type equals "till"
└── Device Type equals "kiosk"
Metric criteria also make membership genuinely volatile — a group of devices over 90% disk usage will change composition constantly. That is the point, but pair it with membership change notifications carefully, or you will be emailed frequently.
evaluation and freshness
Dynamic membership is only as fresh as the last evaluation.
The member list you are looking at is the result of the last time the query ran, not a live query. The Refresh button on the group detail page forces a re-evaluation and updates the Last Evaluated timestamp shown on the group information card.
Check Last Evaluated before acting on a dynamic group — particularly before Run Script, which runs against every current member.
automatic device tagging
A dynamic group can keep a device tag applied to its members for you. Turn on Assign device tag in the group's create or edit dialog, enter the tag, and every evaluation stamps that tag onto each current member. This is how you maintain a role label — integration-host, back-office, signage — across an estate without ever tagging a device by hand: define the role as a query, and the tag follows the membership.
| Setting | What it does |
|---|---|
| Assign device tag | Enables auto-tagging for this group |
| Tag | The tag to apply — required while auto-tagging is on |
| Auto-remove tag | Also strips the tag from a device when it drops out of the group |
The settings only appear on dynamic groups — static groups and folders cannot auto-tag.
when tags are applied
Tags reconcile as part of evaluation, so they update whenever membership does: on the periodic background refresh, on the Refresh button, and immediately when you save a change to the group's criteria or its auto-tagging settings.
Every evaluation stamps all current members, not just newly joined ones. Enabling auto-tagging on an existing group therefore back-fills the whole membership on the next evaluation — you do not need to re-trigger anything beyond saving the dialog, which refreshes the group for you.
removal semantics
Without Auto-remove tag, the group only ever adds its tag; a device that leaves keeps the label until someone removes it. With it on, leaving the group removes the tag on the evaluation that notices the departure.
Two groups assigning the same tag do not fight each other. If a device leaves one group but is still a member of another dynamic group assigning the same tag, the tag stays. Removal only happens once no auto-tagging group claims the device.
Refreshing an auto-tagging group requires the device:tag-edit permission, since the refresh writes device tags — the same permission that gates editing tags directly. A viewer can still refresh groups that do not auto-tag.
pairing with location alert rules
Auto-tagging exists to feed anything that targets devices by tag, and the sharpest example is the Run Script action on a location-scope alert rule: the action names a target device tag, and when the rule fires it runs the script on the online device carrying that tag at the alerting location. One dynamic group maintains the tag (say, every device running your order-integration service), one org-wide rule handles every site, and each location resolves to its own device. See alert actions.
you cannot remove a device directly
There is no remove control on a dynamic group's member table. To exclude a device, change the criteria so it no longer matches — for example add a condition excluding a particular tag, then apply that tag to the device.
Give yourself an escape hatch when you create an important dynamic group: add an AND NOT (Tags has any "exclude-from-<group>") condition from the start. You then have a way to remove an individual device later — by tagging it — without editing the query under time pressure.
a worked example
To find every till at a flagship site that has not been seen for a week:
AND
├── Type in [TILL]
├── Location Tags has any ["flagship"]
└── Last Seen older than days 7
To find devices missing a required application at those same sites, replace the last condition with Software Installed not contains "<application name>".