SlideShare ist ein Scribd-Unternehmen logo
1 von 28
Decision Model & Notation 
(DMN) 
An Introduction 
Max Tay, OCEB® Business Advanced, CBPP® 
© 2014 Max Tay, MaxConsilium Pty Ltd
Decision Model & Notation 
(DMN) 
 A common notation for decision models 
developed by Object Management Group, for 
user from both business and technical 
including: 
◦ business analysts designing decision models; 
◦ technical developers automating the decisions in 
processes; and 
◦ business people who manage and monitor those 
decisions. 
 Its purpose is to provide the constructs that are 
needed to model decisions in diagrams, 
accurately defined by business analysts, and 
optionally automated. 
 It is designed to be useable alongside BPMN. 
© 2014 Max Tay, MaxConsilium Pty Ltd
Basic Concepts 
In the context of DMN, a decision is an act of: 
 determining an output value, 
 based on a number of input values, 
 using logic defining how the output is determined 
from the inputs. 
Decision model is defined in two levels: 
 Decision requirements level 
◦ define the decisions to be made, the 
interrelationships, and the required components for 
the decision logic. 
 Decision logic level 
◦ define the required decisions in some form of logic 
representation at sufficient detail enabling validation 
and/or automation. 
© 2014 Max Tay, MaxConsilium Pty Ltd
© 2014 Max Tay, MaxConsilium Pty Ltd
Decision Requirements Levels – 
Constructs 
Elements 
© 2013 Max Tay, MaxConsilium Pty Ltd 
 Decision 
The act of determining an output 
from a number of inputs, using 
decision logic which may reference 
one or more business knowledge 
models. 
 Business Knowledge 
Model 
A function encapsulating business 
knowledge, in the form of business 
rules, decision table or analytic 
model. 
 Knowledge Source 
The authority for a business 
knowledge model or decision. 
 Input Data 
Information used as an input by one 
or more decisions. It also denotes 
the parameters of a Business 
Knowledge Model. 
Requirements (relationships) 
 Information Requirement 
Information – input data or decision 
output – required for a decision. 
 Knowledge Requirement 
The invocation of a business 
knowledge model. 
 Authority Requirement 
Showing the knowledge source of 
an element or the dependency of a 
knowledge source on input data.
Decision Requirements Level – 
Notation 
Elements 
© 2013 Max Tay, MaxConsilium Pty Ltd 
 Decision 
 Business Knowledge 
Model 
 Knowledge Source 
 Input Data 
Requirements (relationships) 
 Information Requirement 
 Knowledge Requirement 
 Authority Requirement
Example of Decision 
Requirements Model 
© 2014 Max Tay, MaxConsilium Pty Ltd
Knowledge Source and Authority 
Requirement 
 Business knowledge derived from (authority 
requirements) business artefacts and legislative artefact 
(knowledge sources). 
 Business knowledge derived from predictive analytic 
model based on the input data and decision. 
© 2014 Max Tay, MaxConsilium Pty Ltd
Decision Requirements Models – 
DRG and DRD 
Decision Requirements Graph (DRG) 
 A DRG is composed of elements connected 
by requirements and is self-contained. 
◦ All the modelled requirements for any 
Decision in the DRG – its immediate sources 
of information, knowledge and authority – are 
present in the same DRG. 
Decision Requirements Diagram (DRD) 
 A DRD only presents a particular view of a 
DRG, which may be a partial or filtered 
display. 
© 2014 Max Tay, MaxConsilium Pty Ltd
Examples of DRG and DRDs 
© 2014 Max Tay, MaxConsilium Pty Ltd
Decision Logic Level 
 Decision logic is added to a decision model 
by including a value expression component 
in some of the decision model elements in 
the DRG. 
 Each decision element in a decision model 
may include a value expression that 
describes how a decision outcome is 
derived from its required input, possibly 
invoking a business knowledge model. 
 Each business knowledge model element 
may include a value expression, which is 
the defined function that is to be re-used in 
multiple decisions. 
 Knowledge source is not represented at the 
© 2014 Max Tay, MaxConsilium Pty Ltd 
decision logic level.
Decision Logic Level 
Modelling 
 The notation for decision logic is “boxed expressions” 
which is associated with Elements of Decision 
Requirements Diagram. 
 Represented in any of the following forms: 
◦ Invocation (for Decision element), 
◦ decision tables, 
◦ calculations, 
◦ if/then/else logic, 
◦ simple data structures, and 
◦ externally defined logic from Java and PMML into 
executable expressions with formally defined 
semantics 
◦ A literal expression language provided by DMN – 
Friendly Enough Expression Language (FEEL). 
© 2014 Max Tay, MaxConsilium Pty Ltd
Boxed Expression of Decision 
and Business Knowledge Model 
© 2014 Max Tay, MaxConsilium Pty Ltd
Boxed Expression and FEEL 
Expression for Decision Logic 
© 2014 Max Tay, MaxConsilium Pty Ltd
Representing Business Knowledge 
Model using DMN Decision Table 
© 2014 Max Tay, MaxConsilium Pty Ltd
DMN Decision Table 
 A DMN decision table consists of: 
◦ name, 
◦ set of inputs, each input optionally associated with a 
type and list of input values, 
◦ set of outputs, each output optionally associated with 
a type and list of output values, 
◦ list of rules in rows or columns of the table, where 
each rule is composed of the specific input entries 
and output entries of the table row (or column). 
 Input values for the rules must be exclusive, i.e. input 
values do not overlap. 
 A decision table is complete when the list of rules 
contain all possible combinations of input values. 
◦ An incomplete table may specify a default output. 
© 2014 Max Tay, MaxConsilium Pty Ltd
Syntax of DMN Decision 
Table 
Input expression 1 Input expression 2 Output name 
value 1a, value 1b value 2a, value 2b value 3a, value 3b 
1 value 1a value 2a value 3a 
2 value 1b value 2b value 3b 
© 2014 Max Tay, MaxConsilium Pty Ltd 
Decision name 
HC 
Name of 
Decision Table 
Rule 
number 
Set of Inputs 
Output(s) 
Multiple output 
columns allowed 
Double line between inputs 
section and outputs section, and 
between inputs/outputs headers 
and the rule entry cells. 
Lists of expected values 
(optional) 
Hit 
policy 
Completeness 
indicator
Orientations of Rules 
© 2014 Max Tay, MaxConsilium Pty Ltd 
 Rules as rows 
 Rules as columns 
 Rules as crosstab
DMN Decision Table Hit 
Policy 
 The hit policy specifies: 
◦ what the result of the decision table is where 
there are multiple matches for a given set of 
inputs. 
◦ contains additional information that can be used 
to check correctness of decision table at design-time. 
 The hit policy indication is mandatory and is 
summarized using a single character in a 
particular decision table cell. 
 The hit policy MUST default to Unique. 
◦ Decision tables with the Unique hit policy do not 
contain rules with overlapping input entries. 
© 2014 Max Tay, MaxConsilium Pty Ltd
Types of Single Hit Policy 
© 2014 Max Tay, MaxConsilium Pty Ltd 
 Unique 
◦ Default policy. All rules are exclusive. Only a single rule is 
matched. 
 Any 
◦ Multiple matching rules with same output, any output can be 
used. 
 Priority 
◦ Multiple matching rules with different outputs. Returns the 
matching rule with the highest output priority which is specified in 
an ordered list of values, e.g. the list of expected output values. 
 First 
◦ Multiple matching rules with different outputs. First hit by rule 
order is returned (and evaluation stops), i.e. dependency on the 
order of the rules. 
◦ The last rule is often the catch-remainder. 
◦ Hard to validate manually and must be used with care.
Examples of Decision Table with 
Single Hit Policies 
© 2014 Max Tay, MaxConsilium Pty Ltd
Types of Multiple Hit Policy for 
Single Output Decision Table 
 No order 
◦ Returns all hits in a unique list in arbitrary 
order. 
 Output order 
◦ Returns all hits in decreasing priority 
order. 
◦ Output priorities are specified in an 
ordered list of values. 
 Rule order 
◦ Returns all hits in rule order, i.e. 
dependency on the order of the rules. 
© 2014 Max Tay, MaxConsilium Pty Ltd
Output Aggregation for Multiple 
Results 
 A multiple hit table may return output entries from multiple 
rules, where the result is aggregated into a singe result. 
 Aggregation indicator: 
◦ Collect – The result of the decision table is the list of all the 
outputs, ordered or unordered per the hit policy. 
◦ Sum – The result of the decision table is the sum of all the 
outputs. 
◦ Min – The result of the decision table is the smallest value 
of all the outputs. 
◦ Max – The result of the decision table is the largest value 
of all the outputs. 
◦ Count – The result of the decision table is the number of 
outputs. 
◦ Average – The result of the decision table is the average 
value of all the outputs, defined as the sum divided by the 
count. 
© 2014 Max Tay, MaxConsilium Pty Ltd
Examples of Decision Table with 
Multiple Hit Policies 
 Age = 50, Service = 25, Returned result = sum(20, 5, 5) = 30 
 Age = 50, Service = 25, Returned result = (20, 10, 5) 
© 2014 Max Tay, MaxConsilium Pty Ltd
Examples of Decision Table with 
Multiple Hit Policies (cont’) 
 GPA = 3.6, Score = 4, Membership = Yes, 
Returned result = (20% scholarship, 50% loan) 
© 2014 Max Tay, MaxConsilium Pty Ltd
More on Hit Policies 
 Decision tables with multiple output 
columns support only the following hit 
policies: Unique, Any, First, No order, 
and Rule order. 
 Crosstab tables are unique and complete 
by definition and therefore do not need a 
hit policy indication. 
 In tables with First or Rule order hit 
policy, the order of the rules influence the 
output, and therefore must be used with 
care. 
© 2014 Max Tay, MaxConsilium Pty Ltd
© 2014 Max Tay, MaxConsilium Pty Ltd 
FEEL 
 If you are interested in FEEL, see 
Section 10 of the specification. 
 Official specification is available at: 
http://www.omg.org/spec/DMN/Current 
 View article on my blog: 
http://blog.maxconsilium.com/2014/09/intro 
duction-to-decision-model-notation.html
© 2014 Max Tay, MaxConsilium Pty Ltd

Weitere ähnliche Inhalte

Was ist angesagt?

Etl process in data warehouse
Etl process in data warehouseEtl process in data warehouse
Etl process in data warehouseKomal Choudhary
 
BPMN 2.0 overview
BPMN 2.0 overviewBPMN 2.0 overview
BPMN 2.0 overviewsolomd
 
Real-World Data Governance: Master Data Management & Data Governance
Real-World Data Governance: Master Data Management & Data GovernanceReal-World Data Governance: Master Data Management & Data Governance
Real-World Data Governance: Master Data Management & Data GovernanceDATAVERSITY
 
Business intelligence and data warehouses
Business intelligence and data warehousesBusiness intelligence and data warehouses
Business intelligence and data warehousesDhani Ahmad
 
Dimensional modelling-mod-3
Dimensional modelling-mod-3Dimensional modelling-mod-3
Dimensional modelling-mod-3Malik Alig
 
Notes On Single View Of The Customer
Notes On Single View Of The CustomerNotes On Single View Of The Customer
Notes On Single View Of The CustomerAlan McSweeney
 
Data Virtualization: From Zero to Hero
Data Virtualization: From Zero to HeroData Virtualization: From Zero to Hero
Data Virtualization: From Zero to HeroDenodo
 
Basic Component of Document Management System Software
Basic Component of Document Management System SoftwareBasic Component of Document Management System Software
Basic Component of Document Management System SoftwareDigismartek
 
RWDG Slides: Building a Data Governance Roadmap
RWDG Slides: Building a Data Governance RoadmapRWDG Slides: Building a Data Governance Roadmap
RWDG Slides: Building a Data Governance RoadmapDATAVERSITY
 
BPMN Introduction
BPMN IntroductionBPMN Introduction
BPMN Introductionejlp12
 
Implementing the Data Maturity Model (DMM)
Implementing the Data Maturity Model (DMM)Implementing the Data Maturity Model (DMM)
Implementing the Data Maturity Model (DMM)DATAVERSITY
 
Gouvernance et architecture des données de l’Entreprise Digitale
Gouvernance et architecture des données de l’Entreprise DigitaleGouvernance et architecture des données de l’Entreprise Digitale
Gouvernance et architecture des données de l’Entreprise DigitaleAntoine Vigneron
 
Introduction to ETL process
Introduction to ETL process Introduction to ETL process
Introduction to ETL process Omid Vahdaty
 
Automate and Optimize Data Warehouse Migration to Snowflake
Automate and Optimize Data Warehouse Migration to SnowflakeAutomate and Optimize Data Warehouse Migration to Snowflake
Automate and Optimize Data Warehouse Migration to SnowflakeImpetus Technologies
 
Process Mining - Chapter 2 - Process Modeling and Analysis
Process Mining - Chapter 2 - Process Modeling and AnalysisProcess Mining - Chapter 2 - Process Modeling and Analysis
Process Mining - Chapter 2 - Process Modeling and AnalysisWil van der Aalst
 
White Paper - Data Warehouse Documentation Roadmap
White Paper -  Data Warehouse Documentation RoadmapWhite Paper -  Data Warehouse Documentation Roadmap
White Paper - Data Warehouse Documentation RoadmapDavid Walker
 

Was ist angesagt? (20)

Etl process in data warehouse
Etl process in data warehouseEtl process in data warehouse
Etl process in data warehouse
 
Bi vf-3
Bi vf-3Bi vf-3
Bi vf-3
 
BPMN 2.0 overview
BPMN 2.0 overviewBPMN 2.0 overview
BPMN 2.0 overview
 
Real-World Data Governance: Master Data Management & Data Governance
Real-World Data Governance: Master Data Management & Data GovernanceReal-World Data Governance: Master Data Management & Data Governance
Real-World Data Governance: Master Data Management & Data Governance
 
Business intelligence and data warehouses
Business intelligence and data warehousesBusiness intelligence and data warehouses
Business intelligence and data warehouses
 
Dimensional modelling-mod-3
Dimensional modelling-mod-3Dimensional modelling-mod-3
Dimensional modelling-mod-3
 
Notes On Single View Of The Customer
Notes On Single View Of The CustomerNotes On Single View Of The Customer
Notes On Single View Of The Customer
 
Oracle Data Integrator
Oracle Data Integrator Oracle Data Integrator
Oracle Data Integrator
 
Data Virtualization: From Zero to Hero
Data Virtualization: From Zero to HeroData Virtualization: From Zero to Hero
Data Virtualization: From Zero to Hero
 
Basic Component of Document Management System Software
Basic Component of Document Management System SoftwareBasic Component of Document Management System Software
Basic Component of Document Management System Software
 
RWDG Slides: Building a Data Governance Roadmap
RWDG Slides: Building a Data Governance RoadmapRWDG Slides: Building a Data Governance Roadmap
RWDG Slides: Building a Data Governance Roadmap
 
BPMN Introduction
BPMN IntroductionBPMN Introduction
BPMN Introduction
 
Introduction to BPM
Introduction to BPMIntroduction to BPM
Introduction to BPM
 
Implementing the Data Maturity Model (DMM)
Implementing the Data Maturity Model (DMM)Implementing the Data Maturity Model (DMM)
Implementing the Data Maturity Model (DMM)
 
ETL Process
ETL ProcessETL Process
ETL Process
 
Gouvernance et architecture des données de l’Entreprise Digitale
Gouvernance et architecture des données de l’Entreprise DigitaleGouvernance et architecture des données de l’Entreprise Digitale
Gouvernance et architecture des données de l’Entreprise Digitale
 
Introduction to ETL process
Introduction to ETL process Introduction to ETL process
Introduction to ETL process
 
Automate and Optimize Data Warehouse Migration to Snowflake
Automate and Optimize Data Warehouse Migration to SnowflakeAutomate and Optimize Data Warehouse Migration to Snowflake
Automate and Optimize Data Warehouse Migration to Snowflake
 
Process Mining - Chapter 2 - Process Modeling and Analysis
Process Mining - Chapter 2 - Process Modeling and AnalysisProcess Mining - Chapter 2 - Process Modeling and Analysis
Process Mining - Chapter 2 - Process Modeling and Analysis
 
White Paper - Data Warehouse Documentation Roadmap
White Paper -  Data Warehouse Documentation RoadmapWhite Paper -  Data Warehouse Documentation Roadmap
White Paper - Data Warehouse Documentation Roadmap
 

Ähnlich wie Introduction to DMN

Testing begins with requirements - Presentation to BCS SIGiST jun15
Testing begins with requirements - Presentation to BCS SIGiST jun15Testing begins with requirements - Presentation to BCS SIGiST jun15
Testing begins with requirements - Presentation to BCS SIGiST jun15Paul Vincent
 
Presentation Vendavo Event Theo Slaats
Presentation Vendavo Event Theo SlaatsPresentation Vendavo Event Theo Slaats
Presentation Vendavo Event Theo SlaatsTheo Slaats
 
Strat Pro White Paper
Strat Pro   White PaperStrat Pro   White Paper
Strat Pro White PaperPedro Dudiuk
 
Decision Modeling for IIBA Business Analysts using DMN - Denis Gagne
Decision Modeling for IIBA Business Analysts using DMN  - Denis GagneDecision Modeling for IIBA Business Analysts using DMN  - Denis Gagne
Decision Modeling for IIBA Business Analysts using DMN - Denis GagneDenis Gagné
 
A G S006 Little 091807
A G S006  Little 091807A G S006  Little 091807
A G S006 Little 091807Dreamforce07
 
presentation_Differentiation_Workshop_Kunal
presentation_Differentiation_Workshop_Kunalpresentation_Differentiation_Workshop_Kunal
presentation_Differentiation_Workshop_KunalKunal Sharma
 
Introduction to some DMN patterns and their value
Introduction to some DMN patterns and their valueIntroduction to some DMN patterns and their value
Introduction to some DMN patterns and their valueDenis Gagné
 
Build vs Partner - How to Choose by fmr PayPal Product Leader
Build vs Partner - How to Choose by fmr PayPal Product LeaderBuild vs Partner - How to Choose by fmr PayPal Product Leader
Build vs Partner - How to Choose by fmr PayPal Product LeaderProduct School
 
CPA Week 2015 Commercial Acumen Presentation - Kym Williams, BRS
CPA Week 2015 Commercial Acumen Presentation - Kym Williams, BRSCPA Week 2015 Commercial Acumen Presentation - Kym Williams, BRS
CPA Week 2015 Commercial Acumen Presentation - Kym Williams, BRSSarah Edson
 
A Deep Dive into HPCM for Planning and Essbase Professionals
A Deep Dive into HPCM for Planning and Essbase ProfessionalsA Deep Dive into HPCM for Planning and Essbase Professionals
A Deep Dive into HPCM for Planning and Essbase ProfessionalsAlithya
 
Achieving Pricing Excellence in the Age of Business Transformation
Achieving Pricing Excellence in the Age of Business TransformationAchieving Pricing Excellence in the Age of Business Transformation
Achieving Pricing Excellence in the Age of Business TransformationApttus
 
Asset finance systems projects guide 101
Asset finance systems projects guide 101Asset finance systems projects guide 101
Asset finance systems projects guide 101David Pedreno
 
Improve Performance with Enhanced Insight into Profitability and Costs Utiliz...
Improve Performance with Enhanced Insight into Profitability and Costs Utiliz...Improve Performance with Enhanced Insight into Profitability and Costs Utiliz...
Improve Performance with Enhanced Insight into Profitability and Costs Utiliz...Edgewater
 
Oracle EPM Day Boston - Improving Performance with Enhanced Insight into Pro...
Oracle EPM Day Boston -  Improving Performance with Enhanced Insight into Pro...Oracle EPM Day Boston -  Improving Performance with Enhanced Insight into Pro...
Oracle EPM Day Boston - Improving Performance with Enhanced Insight into Pro...Alithya
 
Improve Performance with Enhanced Insight into Profitability and Costs using ...
Improve Performance with Enhanced Insight into Profitability and Costs using ...Improve Performance with Enhanced Insight into Profitability and Costs using ...
Improve Performance with Enhanced Insight into Profitability and Costs using ...Alithya
 

Ähnlich wie Introduction to DMN (20)

Testing begins with requirements - Presentation to BCS SIGiST jun15
Testing begins with requirements - Presentation to BCS SIGiST jun15Testing begins with requirements - Presentation to BCS SIGiST jun15
Testing begins with requirements - Presentation to BCS SIGiST jun15
 
Presentation Vendavo Event Theo Slaats
Presentation Vendavo Event Theo SlaatsPresentation Vendavo Event Theo Slaats
Presentation Vendavo Event Theo Slaats
 
Strat Pro White Paper
Strat Pro   White PaperStrat Pro   White Paper
Strat Pro White Paper
 
Decision Modeling for IIBA Business Analysts using DMN - Denis Gagne
Decision Modeling for IIBA Business Analysts using DMN  - Denis GagneDecision Modeling for IIBA Business Analysts using DMN  - Denis Gagne
Decision Modeling for IIBA Business Analysts using DMN - Denis Gagne
 
A G S006 Little 091807
A G S006  Little 091807A G S006  Little 091807
A G S006 Little 091807
 
presentation_Differentiation_Workshop_Kunal
presentation_Differentiation_Workshop_Kunalpresentation_Differentiation_Workshop_Kunal
presentation_Differentiation_Workshop_Kunal
 
Introduction to some DMN patterns and their value
Introduction to some DMN patterns and their valueIntroduction to some DMN patterns and their value
Introduction to some DMN patterns and their value
 
Build vs Partner - How to Choose by fmr PayPal Product Leader
Build vs Partner - How to Choose by fmr PayPal Product LeaderBuild vs Partner - How to Choose by fmr PayPal Product Leader
Build vs Partner - How to Choose by fmr PayPal Product Leader
 
CPA Week 2015 Commercial Acumen Presentation - Kym Williams, BRS
CPA Week 2015 Commercial Acumen Presentation - Kym Williams, BRSCPA Week 2015 Commercial Acumen Presentation - Kym Williams, BRS
CPA Week 2015 Commercial Acumen Presentation - Kym Williams, BRS
 
A Deep Dive into HPCM for Planning and Essbase Professionals
A Deep Dive into HPCM for Planning and Essbase ProfessionalsA Deep Dive into HPCM for Planning and Essbase Professionals
A Deep Dive into HPCM for Planning and Essbase Professionals
 
Best Practices in Targeted Legacy Modernization
Best Practices in Targeted Legacy ModernizationBest Practices in Targeted Legacy Modernization
Best Practices in Targeted Legacy Modernization
 
Clarity It Sourcing Diagnostic Presentation
Clarity It Sourcing Diagnostic PresentationClarity It Sourcing Diagnostic Presentation
Clarity It Sourcing Diagnostic Presentation
 
Management Control System
Management Control SystemManagement Control System
Management Control System
 
Achieving Pricing Excellence in the Age of Business Transformation
Achieving Pricing Excellence in the Age of Business TransformationAchieving Pricing Excellence in the Age of Business Transformation
Achieving Pricing Excellence in the Age of Business Transformation
 
Chapter 5
Chapter 5Chapter 5
Chapter 5
 
Break even analysis
Break even analysisBreak even analysis
Break even analysis
 
Asset finance systems projects guide 101
Asset finance systems projects guide 101Asset finance systems projects guide 101
Asset finance systems projects guide 101
 
Improve Performance with Enhanced Insight into Profitability and Costs Utiliz...
Improve Performance with Enhanced Insight into Profitability and Costs Utiliz...Improve Performance with Enhanced Insight into Profitability and Costs Utiliz...
Improve Performance with Enhanced Insight into Profitability and Costs Utiliz...
 
Oracle EPM Day Boston - Improving Performance with Enhanced Insight into Pro...
Oracle EPM Day Boston -  Improving Performance with Enhanced Insight into Pro...Oracle EPM Day Boston -  Improving Performance with Enhanced Insight into Pro...
Oracle EPM Day Boston - Improving Performance with Enhanced Insight into Pro...
 
Improve Performance with Enhanced Insight into Profitability and Costs using ...
Improve Performance with Enhanced Insight into Profitability and Costs using ...Improve Performance with Enhanced Insight into Profitability and Costs using ...
Improve Performance with Enhanced Insight into Profitability and Costs using ...
 

Kürzlich hochgeladen

Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024The Digital Insurer
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbuapidays
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWERMadyBayot
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...apidays
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 

Kürzlich hochgeladen (20)

Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 

Introduction to DMN

  • 1. Decision Model & Notation (DMN) An Introduction Max Tay, OCEB® Business Advanced, CBPP® © 2014 Max Tay, MaxConsilium Pty Ltd
  • 2. Decision Model & Notation (DMN)  A common notation for decision models developed by Object Management Group, for user from both business and technical including: ◦ business analysts designing decision models; ◦ technical developers automating the decisions in processes; and ◦ business people who manage and monitor those decisions.  Its purpose is to provide the constructs that are needed to model decisions in diagrams, accurately defined by business analysts, and optionally automated.  It is designed to be useable alongside BPMN. © 2014 Max Tay, MaxConsilium Pty Ltd
  • 3. Basic Concepts In the context of DMN, a decision is an act of:  determining an output value,  based on a number of input values,  using logic defining how the output is determined from the inputs. Decision model is defined in two levels:  Decision requirements level ◦ define the decisions to be made, the interrelationships, and the required components for the decision logic.  Decision logic level ◦ define the required decisions in some form of logic representation at sufficient detail enabling validation and/or automation. © 2014 Max Tay, MaxConsilium Pty Ltd
  • 4. © 2014 Max Tay, MaxConsilium Pty Ltd
  • 5. Decision Requirements Levels – Constructs Elements © 2013 Max Tay, MaxConsilium Pty Ltd  Decision The act of determining an output from a number of inputs, using decision logic which may reference one or more business knowledge models.  Business Knowledge Model A function encapsulating business knowledge, in the form of business rules, decision table or analytic model.  Knowledge Source The authority for a business knowledge model or decision.  Input Data Information used as an input by one or more decisions. It also denotes the parameters of a Business Knowledge Model. Requirements (relationships)  Information Requirement Information – input data or decision output – required for a decision.  Knowledge Requirement The invocation of a business knowledge model.  Authority Requirement Showing the knowledge source of an element or the dependency of a knowledge source on input data.
  • 6. Decision Requirements Level – Notation Elements © 2013 Max Tay, MaxConsilium Pty Ltd  Decision  Business Knowledge Model  Knowledge Source  Input Data Requirements (relationships)  Information Requirement  Knowledge Requirement  Authority Requirement
  • 7. Example of Decision Requirements Model © 2014 Max Tay, MaxConsilium Pty Ltd
  • 8. Knowledge Source and Authority Requirement  Business knowledge derived from (authority requirements) business artefacts and legislative artefact (knowledge sources).  Business knowledge derived from predictive analytic model based on the input data and decision. © 2014 Max Tay, MaxConsilium Pty Ltd
  • 9. Decision Requirements Models – DRG and DRD Decision Requirements Graph (DRG)  A DRG is composed of elements connected by requirements and is self-contained. ◦ All the modelled requirements for any Decision in the DRG – its immediate sources of information, knowledge and authority – are present in the same DRG. Decision Requirements Diagram (DRD)  A DRD only presents a particular view of a DRG, which may be a partial or filtered display. © 2014 Max Tay, MaxConsilium Pty Ltd
  • 10. Examples of DRG and DRDs © 2014 Max Tay, MaxConsilium Pty Ltd
  • 11. Decision Logic Level  Decision logic is added to a decision model by including a value expression component in some of the decision model elements in the DRG.  Each decision element in a decision model may include a value expression that describes how a decision outcome is derived from its required input, possibly invoking a business knowledge model.  Each business knowledge model element may include a value expression, which is the defined function that is to be re-used in multiple decisions.  Knowledge source is not represented at the © 2014 Max Tay, MaxConsilium Pty Ltd decision logic level.
  • 12. Decision Logic Level Modelling  The notation for decision logic is “boxed expressions” which is associated with Elements of Decision Requirements Diagram.  Represented in any of the following forms: ◦ Invocation (for Decision element), ◦ decision tables, ◦ calculations, ◦ if/then/else logic, ◦ simple data structures, and ◦ externally defined logic from Java and PMML into executable expressions with formally defined semantics ◦ A literal expression language provided by DMN – Friendly Enough Expression Language (FEEL). © 2014 Max Tay, MaxConsilium Pty Ltd
  • 13. Boxed Expression of Decision and Business Knowledge Model © 2014 Max Tay, MaxConsilium Pty Ltd
  • 14. Boxed Expression and FEEL Expression for Decision Logic © 2014 Max Tay, MaxConsilium Pty Ltd
  • 15. Representing Business Knowledge Model using DMN Decision Table © 2014 Max Tay, MaxConsilium Pty Ltd
  • 16. DMN Decision Table  A DMN decision table consists of: ◦ name, ◦ set of inputs, each input optionally associated with a type and list of input values, ◦ set of outputs, each output optionally associated with a type and list of output values, ◦ list of rules in rows or columns of the table, where each rule is composed of the specific input entries and output entries of the table row (or column).  Input values for the rules must be exclusive, i.e. input values do not overlap.  A decision table is complete when the list of rules contain all possible combinations of input values. ◦ An incomplete table may specify a default output. © 2014 Max Tay, MaxConsilium Pty Ltd
  • 17. Syntax of DMN Decision Table Input expression 1 Input expression 2 Output name value 1a, value 1b value 2a, value 2b value 3a, value 3b 1 value 1a value 2a value 3a 2 value 1b value 2b value 3b © 2014 Max Tay, MaxConsilium Pty Ltd Decision name HC Name of Decision Table Rule number Set of Inputs Output(s) Multiple output columns allowed Double line between inputs section and outputs section, and between inputs/outputs headers and the rule entry cells. Lists of expected values (optional) Hit policy Completeness indicator
  • 18. Orientations of Rules © 2014 Max Tay, MaxConsilium Pty Ltd  Rules as rows  Rules as columns  Rules as crosstab
  • 19. DMN Decision Table Hit Policy  The hit policy specifies: ◦ what the result of the decision table is where there are multiple matches for a given set of inputs. ◦ contains additional information that can be used to check correctness of decision table at design-time.  The hit policy indication is mandatory and is summarized using a single character in a particular decision table cell.  The hit policy MUST default to Unique. ◦ Decision tables with the Unique hit policy do not contain rules with overlapping input entries. © 2014 Max Tay, MaxConsilium Pty Ltd
  • 20. Types of Single Hit Policy © 2014 Max Tay, MaxConsilium Pty Ltd  Unique ◦ Default policy. All rules are exclusive. Only a single rule is matched.  Any ◦ Multiple matching rules with same output, any output can be used.  Priority ◦ Multiple matching rules with different outputs. Returns the matching rule with the highest output priority which is specified in an ordered list of values, e.g. the list of expected output values.  First ◦ Multiple matching rules with different outputs. First hit by rule order is returned (and evaluation stops), i.e. dependency on the order of the rules. ◦ The last rule is often the catch-remainder. ◦ Hard to validate manually and must be used with care.
  • 21. Examples of Decision Table with Single Hit Policies © 2014 Max Tay, MaxConsilium Pty Ltd
  • 22. Types of Multiple Hit Policy for Single Output Decision Table  No order ◦ Returns all hits in a unique list in arbitrary order.  Output order ◦ Returns all hits in decreasing priority order. ◦ Output priorities are specified in an ordered list of values.  Rule order ◦ Returns all hits in rule order, i.e. dependency on the order of the rules. © 2014 Max Tay, MaxConsilium Pty Ltd
  • 23. Output Aggregation for Multiple Results  A multiple hit table may return output entries from multiple rules, where the result is aggregated into a singe result.  Aggregation indicator: ◦ Collect – The result of the decision table is the list of all the outputs, ordered or unordered per the hit policy. ◦ Sum – The result of the decision table is the sum of all the outputs. ◦ Min – The result of the decision table is the smallest value of all the outputs. ◦ Max – The result of the decision table is the largest value of all the outputs. ◦ Count – The result of the decision table is the number of outputs. ◦ Average – The result of the decision table is the average value of all the outputs, defined as the sum divided by the count. © 2014 Max Tay, MaxConsilium Pty Ltd
  • 24. Examples of Decision Table with Multiple Hit Policies  Age = 50, Service = 25, Returned result = sum(20, 5, 5) = 30  Age = 50, Service = 25, Returned result = (20, 10, 5) © 2014 Max Tay, MaxConsilium Pty Ltd
  • 25. Examples of Decision Table with Multiple Hit Policies (cont’)  GPA = 3.6, Score = 4, Membership = Yes, Returned result = (20% scholarship, 50% loan) © 2014 Max Tay, MaxConsilium Pty Ltd
  • 26. More on Hit Policies  Decision tables with multiple output columns support only the following hit policies: Unique, Any, First, No order, and Rule order.  Crosstab tables are unique and complete by definition and therefore do not need a hit policy indication.  In tables with First or Rule order hit policy, the order of the rules influence the output, and therefore must be used with care. © 2014 Max Tay, MaxConsilium Pty Ltd
  • 27. © 2014 Max Tay, MaxConsilium Pty Ltd FEEL  If you are interested in FEEL, see Section 10 of the specification.  Official specification is available at: http://www.omg.org/spec/DMN/Current  View article on my blog: http://blog.maxconsilium.com/2014/09/intro duction-to-decision-model-notation.html
  • 28. © 2014 Max Tay, MaxConsilium Pty Ltd