Rule Examples

Click on any example to load it into the builder:

Simple Required Field

Basic validation ensuring Animal Name is not null and not empty

Complex Multi-Field Validation

Advanced rule with nested conditions for Animal Ident, Date of Birth, and Sex

Field Comparison Rule

Date comparison between AI Date and Date of Birth fields

Minimal Test

Single condition validation for Animal Name not null

Rule with Actions

Validation rule with automated actions - setting fields and showing messages

Rule Builder

Variables
Root Condition
Rule Actions

Actions are executed only when ALL rule conditions are met. Actions execute in the order they are defined.

Trigger Configuration

Configure when this rule should be triggered. Leave empty for validation-only rules.

Lower values execute first
Rule Management
Load Existing Rule
Recent Rules

Test Data

Tips: • Empty string "" fails IsNotEmpty but passes IsNotNull • null fails both IsNotNull and IsNotEmpty • Valid value passes both

Generated Rule Entity JSON

Complete Rule entity with RuleJson and TriggerConfigJson properties

// Generated Rule entity JSON will appear here
Loading...

Testing rule...