Examples
Overview · Rule Patterns · Profile Examples · Name Examples · Common Examples
Common Rule Examples
- Overview
- Run checks on all rows using a wildcard subject
- PhaseOthers should be empty
- UserPhase must match PhaseNumber
- On Hold warning field should normally be empty
- Material determines valid Finish
- AssemblyPrefix must start with PhaseNumber
The Common examples demonstrate audit rules that apply broadly across the model rather than being tied to a single profile family or object name.
These rules are usually built from subject columns that either:
- apply to all rows using a wildcard match
- classify rows into broad material or project-wide categories
- enforce general modelling standards that should remain consistent across many object types
Unlike the PROFILE and NAME examples, common rules are not primarily concerned with identifying what an object is.
Instead, they are used to check whether model-wide properties are consistent and valid.
These rules typically define:
- whether additional associated phases are present
- whether user phase matches the phase number
- whether warning or hold fields are empty
- whether finishes are valid for steel, grating, or special materials
- whether hidden columns should be used to provide helpful messages
Because these checks are applied broadly, they are useful for detecting project-wide issues that may otherwise be missed.
It is important for common Subject nodes (that match all values) to have
OnMatchandOnNoMatchboth set toNoneso the subject match result doesn’t impede individual Target audit flags.
For example:
PHASE.OTHERScan be used to run checks on every rowMATERIALcan classify rows into steelwork, grating, dummy, or grout categories- hidden columns such as
USER_FIELD_1can be used to show extra detail in audit messages without displaying the column in the main grid
The examples below demonstrate several common rule patterns that can be reused for global checks.
These patterns can be used to design additional rules that do not depend on a specific profile or name.
System File References
The rules used in these examples are based on the system audit files:
These files contain the complete set of common audit rules installed with ObChecked.
Related Documentation
- Core Concepts → Subject Node
- Core Concepts → Match Node
- Core Concepts → Target Node
- Core Concepts → Condition Node
- User Interface → Audit Definition Editor