You are viewing the documentation for Blueriq 17. Documentation for other versions is available in our documentation directory.
This document describes how the decision graph is stored in such a way it follows the XSD of the DMN specification.
The goal of storing a decision is that an organisation can rebuild a model of the decisions that has been made by the runtime. By rebuilding the decisions with the values organisation have insight how decisions are made.
The meta model for the exchange of decisions according to the DMN specifications prescibes that each decision, each, Business knowledge model and each input is a seperate DMN element. So for each type a description will be give here how the information will be stored.
More information on the specification of the meta model and the XSD can be found here: http://www.omg.org/spec/DMN/1.0/Beta1/
Description of all the parts of a DRG at runtime
the metamodel of a DMN element
In the XSD the model will be stored by storing three types of DRG elements, the InformationRequirement (a reference to input and decisions) and the KnowledgeRequirement (a reference to a businessKnowledgeModel)
Decision
A DRG element of the type decision will consist of the parts described underneath
DMNElement attributes and model associations
Attribute | Description | Data from runtime | Required |
name: String [0..1] | The name of this element. | Technical name attribute | Yes |
id: String | The string that identifies this DMNElement uniquely within its containing Definitions element. | Unique ID | Yes |
Decision attributes and model associations
Attribute | Description | Data from runtime | Required |
informationRequirement: InformationRequirement [*] | This attribute lists the instances of InformationRequirement that compose this Decision. | Reference to all the InformationRequirements used as to make the decision (Informationrequirement is a reference to an input or another decision) | No |
knowledgeRequirement: KnowledgeRequirement [*] | This attribute lists the instances of KnowledgeRequirement that compose this Decision. | Reference to the knowledge requirement used to make the decision (Knowledge requirement contains a reference to the logic element used to set the value) | No |
Custom part for a Blueriq
Attribute | Description | Required |
---|---|---|
Value: 1 : 1 | The value for the decision | Yes |
Sourcetype 1: 1 | the sourcetype for the decision (User, System, Constant , etc) | Yes |
Justification 1 : 1 | The justification for the result | No |
InputData
A DRG element of the type decision will consist of the parts described underneath
DMNElement attributes and model associations
Attribute | Description | Data from runtime | Required |
name: String [0..1] | The name of this element. | Technical name attribute | Yes |
id: String | The string that identifies this DMNElement uniquely within its containing Definitions element. | Unique ID | Yes |
InputData attributes and model associations
Attribute | Description | Data from runtime | Required |
Custom part for a Blueriq
Attribute | Description | Required |
---|---|---|
Value: 1 : 1 | The value for the decision | Yes |
Sourcetype 1: 1 | the sourcetype for the decision (User, System, Constant , etc) | Yes |
BusinessKnowledgeModel
DMNElement attributes and model associations
Attribute | Description | Data from runtime | Required |
name: String [0..1] | The name of this element. | Technical name used logic element (expression for default expression Constant fro constant) | Yes |
id: String | The string that identifies this DMNElement uniquely within its containing Definitions element. | Unique ID | Yes |
BusinessKnowledgeModel attributes and model associations
Attribute | Description | Data from runtime | Required |
InformationRequirement
DMNElement attributes and model associations
Attribute | Description | Data from runtime | Required |
name: String [0..1] | The name of this element. | Technical name attribute | Yes |
id: String | The string that identifies this DMNElement uniquely within its containing Definitions element. | Unique ID | Yes |
InformationRequirement attributes and model associations
Attribute | Description | Data from runtime | Required |
requiredDecision: Decision [0..1] | The instance of Decision that this InformationRequirement associates with its containing Decision element. | ID of a DRGelement containing a decision | No |
requiredInput: InputData [0..1] | The instance of InputData that this InformationRequirement associates with its containing Decision element. | ID of a DRGelement conatining an Input | No |
KnowledgeRequirement
DMNElement attributes and model associations
Attribute | Description | Data from runtime | Required |
name: String [0..1] | The name of this element. | Technical name attribute | Yes |
id: String | The string that identifies this DMNElement uniquely within its containing Definitions element. | Unique ID | Yes |
KnowledgeRequirement attributes and model associations
Attribute | Description | Data from runtime | Required |
requiredKnowledge: BusinessKnowledgeModel | The instance of BusinessKnowledgeModel that this KnowledgeRequirement associates with its its containing Decision or BusinessKnowledgeModel element. | ID of a DRGelement containing a BusinessKnowledgeModel | Yes |