Multi-criteria search
Multi-criteria search lets you build structured queries across OCS data. Use it when the global search bar is not enough or when you need AND / OR logic.
Basic search

Goal: find assets where OS Name contains windows and OS Version starts with 10.
Create the first criterion
Navigate to Inventory → Tools → Multi-criteria search.
Define the first criterion.
Using the first drop-down, select Assets.
For the second drop-down, choose OS Name.
In the third drop-down, select contains.
In the value field, enter
windows.
Click Search.
Check the results.
Add a second criterion
Add a criterion line.
Click the + button at the end of the first criteria line.
A new line appears. You also get a logical operator (AND / OR).
Define the second criterion.
Set the logical operator to AND.
Use the drop-downs to construct your second criterion:
For the first drop-down, select Assets.
For the second drop-down, choose OS Version.
For the third drop-down, select starts with.
In the value field, enter
10.
Run the search.
Click Search.
Review the results.
Matching assets appear in the results table.
Advanced search: groups
Groups let you control precedence. They work like parentheses in SQL.
Each group contains its own criteria lines. Groups are combined with AND or OR.

Build the first group.
Start from a working basic search. Keep at least one criteria line in the default group.
Click Add a search group.
Choose how groups are combined.
On the first line of the new group, pick AND or OR. This operator links the whole group to the previous one.
Define criteria inside the new group.
Click Search.
Grouping results
The Group results checkbox under the search button is checked by default. It keeps your results grouped.
If you keep Group results enabled, only one result per asset appears, even if multiple entries for a device match the query. For more detail, click View more results in the Actions column.
If you disable Group results, each matching entry appears.
Example queries
Assets → OS Name contains
WindowsAND Software → Name contains
Software XAND Software → Major is greater than or equal to
2
Assets → OS Name contains
WindowsAND Assets → OS Version starts with
11AND Template → Build is greater than or equal to
XXXAND Software → Name is
.NET
Group 1
Assets → OS Name contains
RHELAND Assets → OS Version starts with
9
OR Group 2
Assets → OS Name contains
DebianAND Assets → OS Version starts with
13
AND Software → Name contains
package-xAND Software → Major is greater than or equal to
XAND Administrative data → Environment contains
Production
Last updated

