Logical classifications
A logical classification combines the results of other classifications using boolean logic.
Logical classifications reference existing classifications and evaluate their combined results to produce a single boolean outcome.
Logical classifications are automatically re-evaluated whenever any change occurs that could affect the result, including changes in referenced classifications, underlying data, or time-dependent conditions.
Evaluation model
Logical classifications evaluate patterns of boolean results produced by other classifications.
flowchart TB
Start["Start evaluation"]
Row["Check configuration row"]
Class["Check referenced classification"]
Cond["Condition satisfied?"]
NextClass["Next classification"]
NextRow["Next configuration row"]
True["Return TRUE"]
False["Return FALSE"]
Start --> Row
Row --> Class
Class --> Cond
Cond -->|yes| NextClass
Cond -->|no| NextRow
NextClass -->|more classifications| Class
NextClass -->|all satisfied| True
NextRow -->|more rows| Row
NextRow -->|no rows left| False
A logical classification evaluates to true if any configured row matches.
Properties
Name
Human-readable name used in the interface.
Names do not need to be unique.
API name
Identifier used internally and in API usage.
Rules:
- lowercase
- allowed characters:
a–z,0–9,_ - must be unique within the table
Table
The table where the classification is defined.
The classification is evaluated independently for each row of this table.
Referenced classifications
Logical classifications reference other classifications defined on the same table.
Supported reference types:
- value classifications
- relational classifications
- logical classifications
Logical classifications may reference other logical classifications, allowing nested logic structures.
Circular references are not allowed. The system prevents saving configurations that would introduce cyclic dependencies.
Configuration model
Logical classifications use a simplified truth-table model.
Each configuration row defines a required pattern of boolean values across the referenced classifications.
For each referenced classification, a row may specify:
Row evaluation
Within a configuration row:
- all specified conditions must match
Across configuration rows:
- if any row matches, the classification evaluates to true
- if no row matches, the classification evaluates to false
This model provides the equivalent of logical operators such as:
without requiring explicit operator syntax.
Modification
All logical classification properties can be modified after creation.
Deletion
Logical classifications can be deleted freely.
Related resources
Understand the concept