22
B Orlando, Nov 6-10, 2017 © 2017 OpenRules, Inc. Decision Modeling in Action with DMN and OpenRules Presenter: Dr. Jacob Feldman OpenRules Inc., CTO [email protected] www.OpenRules.com Technology Theater

Decision Modeling - OpenRulesopenrules.com/pdf/BBC2017.JacobFeldman.2017-11-09.pdf · DMN - Decision Model and Notation OMG standard since 2014 Specifies key concepts and constructs

Embed Size (px)

Citation preview

Page 1: Decision Modeling - OpenRulesopenrules.com/pdf/BBC2017.JacobFeldman.2017-11-09.pdf · DMN - Decision Model and Notation OMG standard since 2014 Specifies key concepts and constructs

B Orlando, Nov 6-10, 2017

© 2017 OpenRules, Inc.

Decision Modeling

in Action

with DMN and OpenRules

Presenter: Dr. Jacob Feldman

OpenRules Inc., CTO

[email protected]

www.OpenRules.com

Technology

Theater

Page 2: Decision Modeling - OpenRulesopenrules.com/pdf/BBC2017.JacobFeldman.2017-11-09.pdf · DMN - Decision Model and Notation OMG standard since 2014 Specifies key concepts and constructs

DMN - Decision Model and Notation

OMG standard since 2014

Specifies key concepts and

constructs for Operational

Business Decision Modeling

Current release 1.1 supports

DMN XML interchange format

Next Release 1.2 – Q1 2018

17 vendors announced DMN

support

© 2017 OpenRules, Inc. 2

Page 3: Decision Modeling - OpenRulesopenrules.com/pdf/BBC2017.JacobFeldman.2017-11-09.pdf · DMN - Decision Model and Notation OMG standard since 2014 Specifies key concepts and constructs

© 2017 OpenRules, Inc. 3

Page 5: Decision Modeling - OpenRulesopenrules.com/pdf/BBC2017.JacobFeldman.2017-11-09.pdf · DMN - Decision Model and Notation OMG standard since 2014 Specifies key concepts and constructs

DMN Interchange

© 2017 OpenRules, Inc. 5

Trisotech

Page 6: Decision Modeling - OpenRulesopenrules.com/pdf/BBC2017.JacobFeldman.2017-11-09.pdf · DMN - Decision Model and Notation OMG standard since 2014 Specifies key concepts and constructs

DMN Modeling Concepts

© 2017 OpenRules, Inc. 6

Decision

Requirements

Diagrams (DRD)

Decision Logic

(Standardized

Decision Tables)

Integration with

Business Processes

(BPMN)

Page 7: Decision Modeling - OpenRulesopenrules.com/pdf/BBC2017.JacobFeldman.2017-11-09.pdf · DMN - Decision Model and Notation OMG standard since 2014 Specifies key concepts and constructs

Decision Modeling Constructs

Core Constructs• Diagrams with Logical Connections

(information requirements)

• Decision Tables

• Basic Expression Language (S-FEEL)

• Conformance Level 2

Advanced Constructs• Boxed Expressions (FEEL functions with

parameters, contexts, if-then-else, for..return

loops, filters, sorting, recursion, …)

• Conformance Level 3

© 2017 OpenRules, Inc. 7

Page 8: Decision Modeling - OpenRulesopenrules.com/pdf/BBC2017.JacobFeldman.2017-11-09.pdf · DMN - Decision Model and Notation OMG standard since 2014 Specifies key concepts and constructs

Hands-On Decision Modeling

The best way to understand DMN is to build

and test real Decision Models

Let’s build and execute for a quite popular

business problems known as “Vacation

Days”

See 20 different solutions at

www.DMCommunity.org

© 2017 OpenRules, Inc. 8

Page 9: Decision Modeling - OpenRulesopenrules.com/pdf/BBC2017.JacobFeldman.2017-11-09.pdf · DMN - Decision Model and Notation OMG standard since 2014 Specifies key concepts and constructs

Decision Model “Vacation Days”

© 2017 OpenRules, Inc. 9

Page 10: Decision Modeling - OpenRulesopenrules.com/pdf/BBC2017.JacobFeldman.2017-11-09.pdf · DMN - Decision Model and Notation OMG standard since 2014 Specifies key concepts and constructs

DRD- Decision Requirement Diagram

© 2017 OpenRules, Inc. 10

Page 11: Decision Modeling - OpenRulesopenrules.com/pdf/BBC2017.JacobFeldman.2017-11-09.pdf · DMN - Decision Model and Notation OMG standard since 2014 Specifies key concepts and constructs

Total Vacation Days

© 2017 OpenRules, Inc. 11

Page 12: Decision Modeling - OpenRulesopenrules.com/pdf/BBC2017.JacobFeldman.2017-11-09.pdf · DMN - Decision Model and Notation OMG standard since 2014 Specifies key concepts and constructs

Eligible For 2 Extra Days

© 2017 OpenRules, Inc. 12

Page 13: Decision Modeling - OpenRulesopenrules.com/pdf/BBC2017.JacobFeldman.2017-11-09.pdf · DMN - Decision Model and Notation OMG standard since 2014 Specifies key concepts and constructs

Eligible For 3 Extra Days

© 2017 OpenRules, Inc. 13

Page 14: Decision Modeling - OpenRulesopenrules.com/pdf/BBC2017.JacobFeldman.2017-11-09.pdf · DMN - Decision Model and Notation OMG standard since 2014 Specifies key concepts and constructs

Eligible For 5 Extra Days

© 2017 OpenRules, Inc. 14

Page 15: Decision Modeling - OpenRulesopenrules.com/pdf/BBC2017.JacobFeldman.2017-11-09.pdf · DMN - Decision Model and Notation OMG standard since 2014 Specifies key concepts and constructs

Glossary

© 2017 OpenRules, Inc. 15

Page 16: Decision Modeling - OpenRulesopenrules.com/pdf/BBC2017.JacobFeldman.2017-11-09.pdf · DMN - Decision Model and Notation OMG standard since 2014 Specifies key concepts and constructs

Test Data

© 2017 OpenRules, Inc. 16

Page 17: Decision Modeling - OpenRulesopenrules.com/pdf/BBC2017.JacobFeldman.2017-11-09.pdf · DMN - Decision Model and Notation OMG standard since 2014 Specifies key concepts and constructs

Test Cases with Expected Results

© 2017 OpenRules, Inc. 17

Page 18: Decision Modeling - OpenRulesopenrules.com/pdf/BBC2017.JacobFeldman.2017-11-09.pdf · DMN - Decision Model and Notation OMG standard since 2014 Specifies key concepts and constructs

Executing Decision Model

against Test Case A

© 2017 OpenRules, Inc. 18

Page 19: Decision Modeling - OpenRulesopenrules.com/pdf/BBC2017.JacobFeldman.2017-11-09.pdf · DMN - Decision Model and Notation OMG standard since 2014 Specifies key concepts and constructs

Execution Report with

Explanations (Test A)

© 2017 OpenRules, Inc. 19

Page 20: Decision Modeling - OpenRulesopenrules.com/pdf/BBC2017.JacobFeldman.2017-11-09.pdf · DMN - Decision Model and Notation OMG standard since 2014 Specifies key concepts and constructs

Execution Report with

Explanations (Test C)

© 2017 OpenRules, Inc. 21

Page 21: Decision Modeling - OpenRulesopenrules.com/pdf/BBC2017.JacobFeldman.2017-11-09.pdf · DMN - Decision Model and Notation OMG standard since 2014 Specifies key concepts and constructs

Alternative DMN DecisionTable

© 2017 OpenRules, Inc. 22

It may look more compact but:• It’s hard to recognize the plain English logic

• Difficult to change or add more rules

In Decision Modeling Compactness is not always your friend!

Page 22: Decision Modeling - OpenRulesopenrules.com/pdf/BBC2017.JacobFeldman.2017-11-09.pdf · DMN - Decision Model and Notation OMG standard since 2014 Specifies key concepts and constructs

My Presentation

“DMN without Programming”

Title – How Business Analysts Build Executable

Decision Models with DMN but without

Programming

Main idea – Keep DMN Simple, Oriented to Business People

When: – Fri Nov 10: 9:00 – 10:00 am

Where:– Room: Timor 1 & 2

© 2017 OpenRules, Inc. 23