Introduction to OMG's new standard DMN 1.0
-
Upload
alcedo-coenen -
Category
Documents
-
view
59 -
download
6
description
Transcript of Introduction to OMG's new standard DMN 1.0
![Page 1: Introduction to OMG's new standard DMN 1.0](https://reader035.fdocuments.in/reader035/viewer/2022062308/55cf9b8e550346d033a68582/html5/thumbnails/1.jpg)
Alcedo CoenenOct 2013
Decision Model & Notation(DMN 1.0) – a new OMG Standard
![Page 2: Introduction to OMG's new standard DMN 1.0](https://reader035.fdocuments.in/reader035/viewer/2022062308/55cf9b8e550346d033a68582/html5/thumbnails/2.jpg)
This is an introduction to the recently defined standard for Decision Model & Notation (DMN), published by OMG …
… closed with some personal comments and questions.
See also James Taylors blog with a good overview of the standard, and the link to the report itself.
![Page 3: Introduction to OMG's new standard DMN 1.0](https://reader035.fdocuments.in/reader035/viewer/2022062308/55cf9b8e550346d033a68582/html5/thumbnails/3.jpg)
Proposal for:
Decision Model and Notation (DMN) Specification 1.0
August 23, 2013
![Page 4: Introduction to OMG's new standard DMN 1.0](https://reader035.fdocuments.in/reader035/viewer/2022062308/55cf9b8e550346d033a68582/html5/thumbnails/4.jpg)
Agenda
• Purpose & Overview• Concepts• Decision Requirements
• Notation• Use
• Decision Logic• Language• Table
• Comments
![Page 5: Introduction to OMG's new standard DMN 1.0](https://reader035.fdocuments.in/reader035/viewer/2022062308/55cf9b8e550346d033a68582/html5/thumbnails/5.jpg)
Purpose of DMN
• Model decisions• Depict in diagrams• Defined by business
analysts• (optionally) automated
![Page 6: Introduction to OMG's new standard DMN 1.0](https://reader035.fdocuments.in/reader035/viewer/2022062308/55cf9b8e550346d033a68582/html5/thumbnails/6.jpg)
Overview (Contents of the Standard document)
1. Scope2. Conformance3. Normative References4. Introduction to DMN5. Decision Requirements
(DRG and DRD)6. Relating Decision Logic to
Decision Requirements7. Decision Table8. Simple Expression
Language (S-FEEL)9. Expression Language
(FEEL)10.DMN Example11.Exchange Formats
Annexes:
A. Relation to BPMNB. Decision ServicesC. Responses to RFP
RequirementsD. Glossary
![Page 7: Introduction to OMG's new standard DMN 1.0](https://reader035.fdocuments.in/reader035/viewer/2022062308/55cf9b8e550346d033a68582/html5/thumbnails/7.jpg)
Agenda
• Purpose & Overview• Concepts• Decision Requirements
• Notation• Use
• Decision Logic• Language• Table
• Comments
![Page 8: Introduction to OMG's new standard DMN 1.0](https://reader035.fdocuments.in/reader035/viewer/2022062308/55cf9b8e550346d033a68582/html5/thumbnails/8.jpg)
Conceptual context
![Page 9: Introduction to OMG's new standard DMN 1.0](https://reader035.fdocuments.in/reader035/viewer/2022062308/55cf9b8e550346d033a68582/html5/thumbnails/9.jpg)
Main concepts
Decision Logic
Decision Requirements
Business Process
More
d
eta
ils
2 levels in scope
![Page 10: Introduction to OMG's new standard DMN 1.0](https://reader035.fdocuments.in/reader035/viewer/2022062308/55cf9b8e550346d033a68582/html5/thumbnails/10.jpg)
Main concepts
Decision Logic
Decision Requirements
Business Process
More
d
eta
ils
![Page 11: Introduction to OMG's new standard DMN 1.0](https://reader035.fdocuments.in/reader035/viewer/2022062308/55cf9b8e550346d033a68582/html5/thumbnails/11.jpg)
Main concepts – Decision Requirements Level
• Business concepts only• Business decisions• Areas of business knowledge• Sources of business knowlegde
Decision Requirements
![Page 12: Introduction to OMG's new standard DMN 1.0](https://reader035.fdocuments.in/reader035/viewer/2022062308/55cf9b8e550346d033a68582/html5/thumbnails/12.jpg)
Main concepts
• Greater detail• Business rules• Calculations• Automated• Display
Decision Logic
![Page 13: Introduction to OMG's new standard DMN 1.0](https://reader035.fdocuments.in/reader035/viewer/2022062308/55cf9b8e550346d033a68582/html5/thumbnails/13.jpg)
From Requirement to Logic
Decision Logic
Decision Requirements
![Page 14: Introduction to OMG's new standard DMN 1.0](https://reader035.fdocuments.in/reader035/viewer/2022062308/55cf9b8e550346d033a68582/html5/thumbnails/14.jpg)
From Requirement to Logic
“This will allow the import of many existing decision logic modeling standards (e.g. for business rules and analytic models) into DMN”
Supported by DMN
SBVR
![Page 15: Introduction to OMG's new standard DMN 1.0](https://reader035.fdocuments.in/reader035/viewer/2022062308/55cf9b8e550346d033a68582/html5/thumbnails/15.jpg)
Agenda
• Purpose & Overview• Concepts• Decision Requirements
• Notation• Use
• Decision Logic• Language• Table
• Comments
![Page 16: Introduction to OMG's new standard DMN 1.0](https://reader035.fdocuments.in/reader035/viewer/2022062308/55cf9b8e550346d033a68582/html5/thumbnails/16.jpg)
Notation
• DRG• Decision Requirements Graph• Self-contained, complete for 1
Decision
• DRD• Decision Requirements Diagram• = View on DRG• Incomplete, showing specific
aspects or perspectives
![Page 17: Introduction to OMG's new standard DMN 1.0](https://reader035.fdocuments.in/reader035/viewer/2022062308/55cf9b8e550346d033a68582/html5/thumbnails/17.jpg)
DRG/DRD elements
Decision
BusinessKnowledg
e
Input data
Knowledge Source
= the act of determining an output from a number or input values
= a function encapsulating business knowledge
= information used as input
= authority for business knowledge or decision
![Page 18: Introduction to OMG's new standard DMN 1.0](https://reader035.fdocuments.in/reader035/viewer/2022062308/55cf9b8e550346d033a68582/html5/thumbnails/18.jpg)
DRG/DRD relationships
= used as input= Information Requirement
= invokes= Knowledge Requirement
= depends on= Authority Requirements
![Page 19: Introduction to OMG's new standard DMN 1.0](https://reader035.fdocuments.in/reader035/viewer/2022062308/55cf9b8e550346d033a68582/html5/thumbnails/19.jpg)
Allowed relationships
Decision 1
BusinessKnowledg
e
Knowledge Source
Decision 2 DecisionInput data
Knowledge SourceDecision
Decision
BusinessKnowledg
e 2
BusinessKnowledg
e 1
Knowledge Source Decision
BusinessKnowledg
e
Knowledge Source 2
Knowledge Source
Knowledge Source 1
Input data
Decision 1 is used as input for decision 2
Decision depends on Knowledge Source
Business Knowledge invokes a Decision
Business Knowledge 1 invokes Business Knowledge 2
Input data is used as input for decision
Input data depends on Knowledge Source
Knowledge Source depends on Decision
Knowledge Source depends on Business Knowledge
Knowledge Source 1 depends on Knowledge Source 2
![Page 20: Introduction to OMG's new standard DMN 1.0](https://reader035.fdocuments.in/reader035/viewer/2022062308/55cf9b8e550346d033a68582/html5/thumbnails/20.jpg)
Example DRD
![Page 21: Introduction to OMG's new standard DMN 1.0](https://reader035.fdocuments.in/reader035/viewer/2022062308/55cf9b8e550346d033a68582/html5/thumbnails/21.jpg)
Agenda
• Purpose & Overview• Concepts• Decision Requirements
• Notation• Use
• Decision Logic• Language• Table
• Comments
![Page 22: Introduction to OMG's new standard DMN 1.0](https://reader035.fdocuments.in/reader035/viewer/2022062308/55cf9b8e550346d033a68582/html5/thumbnails/22.jpg)
Use of DMN
1. Modeling human decision-making
2. Modeling requirements for automated decision-making
3. Implementing automated decision-making
modelrequirements
Decision-making
Decision-making
implementation
12
3
![Page 23: Introduction to OMG's new standard DMN 1.0](https://reader035.fdocuments.in/reader035/viewer/2022062308/55cf9b8e550346d033a68582/html5/thumbnails/23.jpg)
Agenda
• Purpose & Overview• Concepts• Decision Requirements
• Notation• Use
• Decision Logic• Language• Table
• Comments
![Page 24: Introduction to OMG's new standard DMN 1.0](https://reader035.fdocuments.in/reader035/viewer/2022062308/55cf9b8e550346d033a68582/html5/thumbnails/24.jpg)
Connecting Requirements to Logic
Decision Logic
Decision Requirements
The decision logic level of a decision model in DMN
consists in one or more value expressions.
![Page 25: Introduction to OMG's new standard DMN 1.0](https://reader035.fdocuments.in/reader035/viewer/2022062308/55cf9b8e550346d033a68582/html5/thumbnails/25.jpg)
Languages for Value Expressions
Possible value expression forms:
• Literal expression
• Decision table
• Invocation of a Business Knowledge Model (re-usable function)
FEEL = Friendly Enough Expression Language
![Page 26: Introduction to OMG's new standard DMN 1.0](https://reader035.fdocuments.in/reader035/viewer/2022062308/55cf9b8e550346d033a68582/html5/thumbnails/26.jpg)
Agenda
• Purpose & Overview• Concepts• Decision Requirements
• Notation• Use
• Decision Logic• Language• Table
• Comments
![Page 27: Introduction to OMG's new standard DMN 1.0](https://reader035.fdocuments.in/reader035/viewer/2022062308/55cf9b8e550346d033a68582/html5/thumbnails/27.jpg)
Decision Table cf DMN 1.0 - principles
IF input expression 1 matches x AND input expression 2 matches y THEN a result (a "hit") is z.
• Name• Set of inputs• Set of outputs• Rules connecting inputs with outputs
S-FEEL = subset of FEEL
![Page 28: Introduction to OMG's new standard DMN 1.0](https://reader035.fdocuments.in/reader035/viewer/2022062308/55cf9b8e550346d033a68582/html5/thumbnails/28.jpg)
Decision Table cf DMN 1.0 - styles
Rule = row
Rule = column
Rule = crosstab
![Page 29: Introduction to OMG's new standard DMN 1.0](https://reader035.fdocuments.in/reader035/viewer/2022062308/55cf9b8e550346d033a68582/html5/thumbnails/29.jpg)
Agenda
• Purpose & Overview• Concepts• Decision Requirements
• Notation• Use
• Decision Logic• Language• Table
• Comments
![Page 30: Introduction to OMG's new standard DMN 1.0](https://reader035.fdocuments.in/reader035/viewer/2022062308/55cf9b8e550346d033a68582/html5/thumbnails/30.jpg)
Semantic analysis (simplified)
Decision
Authority
Output value
Input value(s)
Decision logic
Business Knowledge
Models
Business know-how
Business Rule
Analytical model
hasdetermines
requires uses
includes
encapsulates
kind of kind of
has
Value expression
defined by
defined by
![Page 31: Introduction to OMG's new standard DMN 1.0](https://reader035.fdocuments.in/reader035/viewer/2022062308/55cf9b8e550346d033a68582/html5/thumbnails/31.jpg)
Question marks
• Hierarchy from business process to business logic• => what about
knowledge about the process itself?
• Distinction DRG vs DRD• Why is the DRG not used
in the Example (Ch 10)?• Is it more than a
difference in scope?
• Decision vs Business Knowledge• What is the difference?• What are they different
from functions (transforming input into output)?
• FEEL• Why a separate
language?• Why no FEEL in the
Example (Ch 10)?