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?

Informatica Powercenter Architecture
Informatica Powercenter ArchitectureInformatica Powercenter Architecture
Informatica Powercenter ArchitectureBigClasses Com
 
Budgeting using hyperion planning vs essbase
Budgeting using hyperion planning vs essbaseBudgeting using hyperion planning vs essbase
Budgeting using hyperion planning vs essbaseSyntelli Solutions
 
Gartner: Master Data Management Functionality
Gartner: Master Data Management FunctionalityGartner: Master Data Management Functionality
Gartner: Master Data Management FunctionalityGartner
 
Fundamentals of business process management and BPMN
Fundamentals of business process management and BPMNFundamentals of business process management and BPMN
Fundamentals of business process management and BPMNGregor Polančič
 
Master Data Management's Place in the Data Governance Landscape
Master Data Management's Place in the Data Governance Landscape Master Data Management's Place in the Data Governance Landscape
Master Data Management's Place in the Data Governance Landscape CCG
 
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
 
The what, why, and how of master data management
The what, why, and how of master data managementThe what, why, and how of master data management
The what, why, and how of master data managementMohammad Yousri
 
Reference master data management
Reference master data managementReference master data management
Reference master data managementDr. Hamdan Al-Sabri
 
Enterprise Architecture vs. Data Architecture
Enterprise Architecture vs. Data ArchitectureEnterprise Architecture vs. Data Architecture
Enterprise Architecture vs. Data ArchitectureDATAVERSITY
 
Incorporating ERP metadata in your data models
Incorporating ERP metadata in your data modelsIncorporating ERP metadata in your data models
Incorporating ERP metadata in your data modelsChristopher Bradley
 
Why and How to Implement Operation Transfer Pricing (OTP) with Oracle EPM Cloud
Why and How to Implement Operation Transfer Pricing (OTP) with Oracle EPM Cloud Why and How to Implement Operation Transfer Pricing (OTP) with Oracle EPM Cloud
Why and How to Implement Operation Transfer Pricing (OTP) with Oracle EPM Cloud Alithya
 
What is an event-driven process chain?
What is an event-driven process chain?What is an event-driven process chain?
What is an event-driven process chain?ARIS Community
 
Structured Business Process Modeling - Lavacon 2014
Structured Business Process Modeling - Lavacon 2014Structured Business Process Modeling - Lavacon 2014
Structured Business Process Modeling - Lavacon 2014Dr. Jackie Damrau, BPMN
 
Simplify Complex Consolidations and Close Processes with Oracle Financial Con...
Simplify Complex Consolidations and Close Processes with Oracle Financial Con...Simplify Complex Consolidations and Close Processes with Oracle Financial Con...
Simplify Complex Consolidations and Close Processes with Oracle Financial Con...Alithya
 
Oracle R12 Upgrade Lessons Learned
Oracle R12 Upgrade Lessons LearnedOracle R12 Upgrade Lessons Learned
Oracle R12 Upgrade Lessons Learnedbpellot
 
Analytics Teams: 6 Questions To Ask Your Business Partner Before You Model
Analytics Teams: 6 Questions To Ask Your Business Partner Before You ModelAnalytics Teams: 6 Questions To Ask Your Business Partner Before You Model
Analytics Teams: 6 Questions To Ask Your Business Partner Before You ModelDecision Management Solutions
 
How to identify the correct Master Data subject areas & tooling for your MDM...
How to identify the correct Master Data subject areas & tooling for your MDM...How to identify the correct Master Data subject areas & tooling for your MDM...
How to identify the correct Master Data subject areas & tooling for your MDM...Christopher Bradley
 
ETL Using Informatica Power Center
ETL Using Informatica Power CenterETL Using Informatica Power Center
ETL Using Informatica Power CenterEdureka!
 
Ibm data governance framework
Ibm data governance frameworkIbm data governance framework
Ibm data governance frameworkkaiyun7631
 

Was ist angesagt? (20)

Informatica Powercenter Architecture
Informatica Powercenter ArchitectureInformatica Powercenter Architecture
Informatica Powercenter Architecture
 
Introduction to BPM
Introduction to BPMIntroduction to BPM
Introduction to BPM
 
Budgeting using hyperion planning vs essbase
Budgeting using hyperion planning vs essbaseBudgeting using hyperion planning vs essbase
Budgeting using hyperion planning vs essbase
 
Gartner: Master Data Management Functionality
Gartner: Master Data Management FunctionalityGartner: Master Data Management Functionality
Gartner: Master Data Management Functionality
 
Fundamentals of business process management and BPMN
Fundamentals of business process management and BPMNFundamentals of business process management and BPMN
Fundamentals of business process management and BPMN
 
Master Data Management's Place in the Data Governance Landscape
Master Data Management's Place in the Data Governance Landscape Master Data Management's Place in the Data Governance Landscape
Master Data Management's Place in the Data Governance Landscape
 
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
 
The what, why, and how of master data management
The what, why, and how of master data managementThe what, why, and how of master data management
The what, why, and how of master data management
 
Reference master data management
Reference master data managementReference master data management
Reference master data management
 
Enterprise Architecture vs. Data Architecture
Enterprise Architecture vs. Data ArchitectureEnterprise Architecture vs. Data Architecture
Enterprise Architecture vs. Data Architecture
 
Incorporating ERP metadata in your data models
Incorporating ERP metadata in your data modelsIncorporating ERP metadata in your data models
Incorporating ERP metadata in your data models
 
Why and How to Implement Operation Transfer Pricing (OTP) with Oracle EPM Cloud
Why and How to Implement Operation Transfer Pricing (OTP) with Oracle EPM Cloud Why and How to Implement Operation Transfer Pricing (OTP) with Oracle EPM Cloud
Why and How to Implement Operation Transfer Pricing (OTP) with Oracle EPM Cloud
 
What is an event-driven process chain?
What is an event-driven process chain?What is an event-driven process chain?
What is an event-driven process chain?
 
Structured Business Process Modeling - Lavacon 2014
Structured Business Process Modeling - Lavacon 2014Structured Business Process Modeling - Lavacon 2014
Structured Business Process Modeling - Lavacon 2014
 
Simplify Complex Consolidations and Close Processes with Oracle Financial Con...
Simplify Complex Consolidations and Close Processes with Oracle Financial Con...Simplify Complex Consolidations and Close Processes with Oracle Financial Con...
Simplify Complex Consolidations and Close Processes with Oracle Financial Con...
 
Oracle R12 Upgrade Lessons Learned
Oracle R12 Upgrade Lessons LearnedOracle R12 Upgrade Lessons Learned
Oracle R12 Upgrade Lessons Learned
 
Analytics Teams: 6 Questions To Ask Your Business Partner Before You Model
Analytics Teams: 6 Questions To Ask Your Business Partner Before You ModelAnalytics Teams: 6 Questions To Ask Your Business Partner Before You Model
Analytics Teams: 6 Questions To Ask Your Business Partner Before You Model
 
How to identify the correct Master Data subject areas & tooling for your MDM...
How to identify the correct Master Data subject areas & tooling for your MDM...How to identify the correct Master Data subject areas & tooling for your MDM...
How to identify the correct Master Data subject areas & tooling for your MDM...
 
ETL Using Informatica Power Center
ETL Using Informatica Power CenterETL Using Informatica Power Center
ETL Using Informatica Power Center
 
Ibm data governance framework
Ibm data governance frameworkIbm data governance framework
Ibm data governance framework
 

Ä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

Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
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
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGSujit Pal
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
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
 

Kürzlich hochgeladen (20)

Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
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...
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAG
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
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...
 

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