1. Home
  2. Validation logic

Validation logic

Print Friendly, PDF & Email

◷ Reading Time: 2 minutes

Validation logic is an extensible, dynamic logic that allows you to validate consistency data, domain model, inputs, etc., or make decisions using a declarative paradigm. This means you focus on the what and why of the logic rather than the how of it. Validation logic allows you to simply extend its behavior by chaining different rule commands, executing a method, calling function, and so on. Think of validation logic as any type of decision logic and you can Define variables as required.

It supports:

  • Validating
    • Model Relations
    • Type’s properties values
    • Type’s method results
    • Unique constraint checks
    • Existence checks
    • … any custom checks …
  • Receiving extra input parameters from the application
  • Divided logic that may be reused inside the rule
  • Extensible validation commands (via object Method Call)
  • Simplified method call for validation check by using Alias
  • Reusable validation rules inflows and procedural rules
  • Notification that has all the results for each step of validation
  • Structured Routine mode to support different logic structures calls into each other
  • Sequential mode allows a sequential chain behavior (Different from RETE based inference)
  • Setting a parameter`s value during validation in the “Then” section
  • Build a hierarchy of boolean operations and expressions: And, Or, Xor, Nor, Not, etc.
  • Enforce to execute all the validation expressions to collect complete validation feedback
  • Ability to build validation rules via code programmatically (e.g., C#)
  • High-level language for validation rule definition
    • XML based language
    • DSL to support natural human-like language
Updated on June 28, 2019

Was this article helpful?