Skip to content

Latest commit

 

History

History
82 lines (51 loc) · 6.73 KB

File metadata and controls

82 lines (51 loc) · 6.73 KB
graph LR
    BPMN_Parser_Core["BPMN Parser Core"]
    BPMN_Specification_Library["BPMN Specification Library"]
    DMN_Parser["DMN Parser"]
    DMN_Model_Engine["DMN Model & Engine"]
    Validation_Exception_Handling["Validation & Exception Handling"]
    BPMN_Parser_Core -- "Creates" --> BPMN_Specification_Library
    BPMN_Parser_Core -- "Raises" --> Validation_Exception_Handling
    DMN_Parser -- "Creates" --> DMN_Model_Engine
    DMN_Parser -- "Raises" --> Validation_Exception_Handling
    DMN_Model_Engine -- "Raises" --> Validation_Exception_Handling
    BPMN_Specification_Library -- "Integrates with" --> DMN_Model_Engine
Loading

CodeBoardingDemoContact

Details

The Modeling & Parsing subsystem is crucial for transforming abstract BPMN and DMN definitions into concrete, executable specifications for the workflow engine. It acts as the bridge between the human-readable models and the machine-executable processes.

BPMN Parser Core

This is the primary entry point for ingesting BPMN XML files or strings. It orchestrates the parsing of various BPMN elements (processes, tasks, events, gateways) by delegating to specialized sub-parsers. It's responsible for the initial transformation of the raw XML into a structured, internal representation.

Related Classes/Methods:

BPMN Specification Library

A comprehensive collection of classes that define the internal, executable representations of all BPMN elements, including processes, tasks (User, Script, Service, Multi-Instance), gateways (Exclusive, Parallel, Inclusive), events (Message, Timer, Error, Signal), and data objects. These specifications encapsulate the behavior and attributes of each BPMN element, forming the blueprint for workflow execution.

Related Classes/Methods:

DMN Parser

Responsible for parsing DMN XML files. It extracts decision tables, input/output definitions, and rules, converting them into an internal DMN model. This parser can also be integrated with BPMN parsing, particularly for Business Rule Tasks that reference DMN decisions.

Related Classes/Methods:

DMN Model & Engine

This component encompasses the internal, structured representation of a DMN model (including parsed decision tables, their inputs, outputs, and defined rules) and the core logic for evaluating these decision tables. It takes input data, applies the DMN rules, and produces a decision result that can then be used to guide the workflow's progression.

Related Classes/Methods:

Validation & Exception Handling

A set of custom exception classes used throughout the parsing and execution phases. These exceptions are critical for signaling and reporting issues such as invalid BPMN/DMN model structures (validation errors) or failures during the execution of workflow tasks, ensuring robust error handling and clear feedback.

Related Classes/Methods: