Validation Subsystem

Overview

The validation subsystem is responsible for ensuring that transition data context satisfies structural expectations before it is processed by transition handler.

Validation in BPUA is intentionally limited in scope:

Validation protects execution. It does not define business meaning.

Two Types of Validation

BPUA distinguishes between two different kinds of validation:

This page focuses on contract validation.

Transition Data Contract

The validation of the data context structure is driven by transition data contract, which is the declarative specification of expected tables and their properties:

The contract describes what must exist. It does not perform validation itself.

Validation is performed by transition data contract validator, which:

Validation Result

Validation produces a collection of issues consisting of:

Validation does not throw exceptions. It returns a structured result.

Design Decisions

What Validation Does Not Do

Business data validation belongs to business domain components.

Relation to Execution Pipeline

Validation is the first step in transition execution:

Validation guards the pipeline before execution begins.

Table of Content BPUA Chapter Previous: Use Case Activator Next: Execution Lifecycle

 


Business Process Programming in .Net
© 2004-2026 Laskarzhevsky Software Inc.
Unless otherwise noted, the content of this website is licensed under the Creative Commons Attribution 4.0 International License (CC BY 4.0).
Code examples are provided under the MIT License.
You are free to share and adapt the material provided that appropriate credit is given and any modifications are clearly indicated.
The information provided on this website is for educational purposes only.
The author and publisher make no warranties regarding the completeness or suitability of the information and are not responsible for any damages resulting from its use.