Skip to main content

Creating a New Filter

This section explains step by step how to create, edit and delete an identity filter for a function, and how to build the filter condition. How filters are applied to users is explained in Identity Filters Overview.


Steps to Add a Filter via the Application​

1. Accessing the Function Design Screen​

Click Function Designs under the Administration menu on the left.


2. Selecting the Function​

  • You are directed to the Functions page.
  • Find the function whose records you want to restrict (for example Work Order). You can narrow the list with the modules panel on the left.
  • Click the Filters option from the row actions.

3. Viewing Existing Filters​

  • You are directed to the Filters page of the function.
  • The existing filters are listed by Name, with Edit and Delete row actions.

4. Adding a New Filter​

  • Click the + New button at the top right to open the Create New Filter page.

5. Filling In the Fields and Saving​

  • Enter the Name, select the Identities and build the condition (see the sections below).
  • Click Save at the top right. The filter is saved and you return to the Filters page.

Key Fields in Filter Definition​

The General Information panel of the Create New Filter (and Update Filter) page contains the following fields. Required fields are shown in bold.

Field NameDescription
NameThe name of the filter shown in the Filters list. Required.
IdentitiesThe users, roles, positions, organization units and user groups the filter applies to. Required; at least one identity must be selected. Several identities of different kinds can be selected together.
Filter conditionThe condition that records must meet to be visible to the selected identities. It is built in the rule builder under the identities, as described below.

Building the Condition​

The condition is a tree of groups and items:

  • The top level is a group. Each group has an And / Or selector that defines how its items are combined:
    • And: A record must meet every item of the group.
    • Or: A record must meet at least one item of the group.
  • Add Item adds a condition item to the group.
  • Add Group adds a nested group with its own And / Or selector, so that conditions such as A and (B or C) can be built.
  • The + / - button expands or collapses a group, and the delete button removes an item or a nested group.

Each item has three parts:

  1. Field: Click the button next to the field box to open the Field Selection window. It shows the fields of the function's record as a tree; related records (for example the asset or site of a work order) can be expanded to reach their fields. Only fields whose type can be filtered can be selected. Selecting a field sets a default operator and clears the value.
  2. Operator: Chosen from the operators that are valid for the field's type (see the table below).
  3. Value: The input changes with the field's type. It is hidden when the operator is Empty or Not empty.

Operators by Field Type​

Field typeOperatorsValue input
TextEmpty, Not empty, Equals, Does not equal, Contains (default), Does not contain, Starts with, Ends with, Not starts with, Not ends withText box
Whole number, DecimalEmpty, Not empty, Equals (default), Does not equal, Greater than, Less than, Greater than or equal, Less than or equalNumber box
Date, Date and timeEmpty, Not empty, Equals (default), Does not equal, Greater than, Less than, Greater than or equal, Less than or equalDate picker (a fixed date)
MoneyEmpty, Not empty, Equals (default), Does not equal, Greater than, Less than, Greater than or equal, Less than or equalAmount and currency. The amount is compared; if a currency is selected, the record's currency must also match.
DurationEmpty, Not empty, Equals (default), Does not equal, Greater than, Less than, Greater than or equal, Less than or equalDuration input
Yes/NoEquals (default), Does not equalSwitch
Fixed list of values (for example a priority or type)Equals (default), Does not equal; also Empty and Not empty when the field is optionalMultiple selection from the list
Related record (for example Site, Asset, Created By)Equals (default), Does not equalMultiple selection, searched among the related records
Identity (user, role, position, organization unit or user group stored on the record)Equals (default), Does not equalMultiple identity selection

When several values are selected:

  • Equals matches records whose field equals any of the selected values.
  • Does not equal matches records whose field equals none of the selected values.

Editing and Deleting a Filter​

  • Edit: Opens the Update Filter page with the same fields. Changes apply to the affected users' next list query after you click Save.
  • Delete: Removes the filter after confirmation. Users who matched only this filter see all records their permissions allow again.

⚠️ Warning​

  • A user who matches several filters of the same function sees only the records that meet all of their conditions.
  • A filter whose condition has no complete item is ignored, so its identities are not restricted at all.
  • Filters also apply to users with administrative roles if they match the identities.

Example​

The following filter shows technicians only the open work orders of the Istanbul site:

  • Name: Technicians - Istanbul open work orders
  • Identities: the Technician role
  • Condition (And):
    • Site Equals Istanbul
    • State Does not equal Completed, Closed, Cancelled

The field names in this example depend on the function and on your organization's definitions; select the actual fields in the Field Selection window.