Classifying Decision Model Structures

Author(s)

Managing Partner, Knowledge Partners International LLP
Larry Goldberg has over forty years of experience in building technology based companies, focused on rule-based technologies and applications. Prior to joining KPI as Managing Partner, he was Senior Vice President of Sapiens Americas, Inc., which he joined when he sold his company, PowerFlex Software Systems, Inc to Sapiens. Larry is co-editor of “The Business Rules Revolution” (Happy About, 2006), co-author of “The Decision Model - A Business Logic Framework Linking Business and Technology” (Auerbach, 2009) and co-developer of The Decision Model. Larry also served as the Editorial Director of BPMInstitute.org's “BDM Bulletin” until 2013.

(How to Recognize, Classify, and Validate Common Logic Structures)

It is not by accident that all decision models look similar.  The similarities reflect the rigor of The Decision Model principles, the most important being mandatory adherence to Decision Model First Normal Form.  These similarities are useful because they make it easy for people to understand and validate decision models, as there is only one way to interpret one.  This is a major advantage of The Decision Model over other approaches for representing business logic. 

However, this month we focus, not so much on the similarities among decision models, but on their differences.  More than that, we explore the idea of classifying decision model structures based on differences in their logic. 

Below, Part 1 summarizes the similarities among decision models.  Part 2 does the same for their differences.  Part 3 introduces three fundamental Rule Family classifications so you can recognize them and use them for validating business logic.

Part 1: Similarities among Decision Models

The similarities among Decision Models are evident in its two visual representations.  The first is the decision model diagram.  The decision model diagram reveals the structure of Rule Families and inferential relationships among them.  Figure 1 contains three decision model diagrams.  The second visual representation is the Rule Family table.  The Rule Family table discloses the detailed content of the logic within a Rule Family as shown in Figure 2. 

At a glance, Figure 1 and Figure 2 expose six visible similarities.  Specifically, every decision model diagram has exactly one decision Rule Family, zero to many supporting Rule Families, and zero to many inferential relationships among supporting to dependent Rule Families.  Further, every Rule Family table has exactly one conclusion fact type, zero to many condition fact types, and one or more Rule Patterns. What about the visible differences?

Part 2: Differences among Decision Models

The decision model diagram is the first place to look for visible differences among decision models.  The three decision model diagrams in Figure 1 are all similar with respect to the six characteristics above.  Yet, some differences are immediately obvious.  These differences reflect the nature of the logic within the models.

In Figure 1, one decision model has six Rule Families, another has five, and another has thirteen.  Looking only at decision Rule Families, two have three condition fact types, and one has four.  Comparing levels of Rule Families, two have three levels and the other has two.  Looking again only at decision Rule Families, the top left model has two condition fact types between the solid and dotted line and one below the dotted line.  On the other hand, the top right model has all four condition fact types between the dotted and solid line. 

Figure 1 : Three Different Decision Model Diagrams

Therefore, Figure 1 illustrates that decision model diagrams may differ in the following:

  • Quantity of Rule Families
  • Quantity of conditions per rule Family
  • Different levels of supporting Rule Families and
  • Placement of condition fact types above and below the solid and dotted lines.

     

However, there are additional differences that are only visible in the populated content of the Rule Family tables.  Part 3 explores these kinds of differences. 

Part 3: Three Fundamental Rule Family Classifications

One of the most important differences within Rule Family tables is the cardinality of the conclusion reached.  The cardinality of the conclusion reached is simply how many Rule Family rows can evaluate to true for any set of input values.  Three different conclusion cardinalities show up in practice often and are worth exploring:

  • Classification #1: Only One Row Evaluates to True
  • Classification #2: Multiple Rows Evaluate to True but  Produce the Same Conclusion Value
  • Classification #3: Multiple Rows Evaluate to True but May Produce Different Conclusion Values

Classification #1: Only One Row Evaluates to True

In this kind of Rule Family only one row can ever evaluate to true for any input.  This is the most common kind of Rule Family.  An example is in Figure 2.   

 

Figure 2 : Classification #1

Rule Families of Classification #1 result in a conclusion value based on mutually exclusive rows (Hence, only one row can evaluate to true for any input).  Sometimes, the domain values for the conclusion fact type are a set of values such as {high, medium, low} as is the case in Figure 2.  Sometimes it is a set of codes, such as {A, B, C}.

Validating a Rule Family of Classification #1 means ensuring full domain coverage for all fact types and eliminating overlaps among logic in rows so that only one row evaluates to true for any set of input values.

Classification #2: Multiple Rows Evaluate to True but Produce the Same Conclusion Value

In this kind of Rule Family, more than one row can evaluate to true for any input, but all such conclusion values are the same.  A simple example is in Figure 3.

Figure 3 : Classification #2 

Rule Families of Classification #2 usually have a conclusion fact type with two domain values where one value is a desired one (e.g., “compliant”) and the other is the opposite or undesired one (e.g., “not compliant”).  The important characteristic of Classification #2 is that the Rule Family may conclude either value more than once for a given input.  For example, several rows may evaluate to true and all of them conclude that the input is compliant.  Alternatively, several rows may evaluate to true and all of them conclude that the input is not compliant.    However, several rows cannot evaluate to true where some conclude that the input is compliant and others conclude that the input is not compliant.

Sometimes, the domain for the conclusion fact type is a set of {compliant, not compliant}, sometimes a set of {true, false}, and sometimes a set of {yes, no}.

The most common example of this kind of Rule Family is a simple one as in Figure 3.  This Rule Family contains only one row leading to the desired conclusion value (in this case “compliant”).   To be complete, this Rule Family also includes rows leading to the undesired conclusion value (in this case “not compliant”).  Examining Figure 3, input values of Person’s Credit Rating of B and Person’s Credit Card Balance of $10k will result in two rows evaluating to true, hence two “not compliant” conclusions.  This situation is perfectly acceptable if the Rule Family is Classification #2.

Validating the content of Classification #2 means ensuring full domain coverage for all fact types, ensuring the correct rows lead to the desirable conclusion value, and ensuring there are rows for all other conditions leading to the undesired conclusion value.  (The latter usually requires separate rows to accommodate Ors.) In addition, it means ensuring there are no overlaps by which both the desired and undesired conclusion values are possible. 

Classification #3:  Multiple Rows Evaluate to True but May Produce Different Conclusion Values

In this kind of Rule Family, more than one row can evaluate to true for any input and the conclusion values may be different.  We refer to these as “multi-hit” Rule Families.

In Figure 4, the Rule Family determines the Student Financial Packages for which a student is eligible.  Apparently, there are four kinds of financial packages: 20% scholarship, 30% loan, 20% work-on-campus opportunity and 5% work-on-campus opportunity.  However, inspection of the logic reveals that there are overlaps among some rows.  For example, a student with a GPA greater than 3.0 and with a membership in the national honor society is eligible for the 20% scholarship and a 30% loan.  This situation is perfectly acceptable if the Rule Family is of Classification #3 and will return a set of two different conclusion values.

Figure 4 : Classification #3

Validating the content of Classification #3 means ensuring full domain coverage of all fact types and making sure the conclusion fact type name contains the word “List.” “List” indicates that the Rule Family permits a conclusion being a set of different conclusion values.  In addition, validating it means ensuring the operator in the conclusion cell is set-oriented (in this case, “Append With” indicating that each conclusion value for a row evaluating to true becomes a member of the conclusion set of values). It is difficult to validate Classification #3 because it permits overlaps in logic.  Other than checking with business people, there is no easy way to find incorrect logic.  

If the conclusion in a Classification #3 Rule Family serves as a condition in another Rule Family, validation includes ensuring the operator in the dependent Rule Family is set-oriented.  In Figure 5, this operator is “contains.”

Figure 5 : Dependent Rule Family Using a List Fact Type

How Do Rule Family Classifications Help?

This column pointed out how and why all decision models, by principle, look similar.  The rigor of the principles leads to consistency among models, which, in turn, makes it easy for business experts to interpret and validate decision models developed by different people.  The differences among decision models, however, are of great interest.  It is worth exploring the most commonly occurring differences to understand how the corresponding logic behaves and how to validate it.

The focus of this column is on one specific kind of difference: the cardinality of possible Rule Family conclusion values.  Table 1 summarizes its three common classifications.

As experience with The Decision Model grows, other useful classifications of decision model structures will likely emerge.  They may be as simple as the ones in the column.  On the other hand, they may be as complex as classifications that are common within a particular industry.   Eventually, we should see the emergence of entire decision model structures for specific industries.

 

Classification # and Name Classification Description Figure Containing an Example How to Validate
1
Conclusion Cardinality of One 
Only one row in the Rule Family can  evaluate to true for any input Figure 2
  • Ensure full domain coverage for all fact types.
  • Eliminate all overlaps among rows.
2
Conclusion Cardinality of More than One but Same Value
More than one row can evaluate to true for any input, but all such conclusion values are the same Figure 3
  • Ensure full domain coverage for all fact types
  • Ensure the correct rows lead to the desirable conclusion value
  • Ensure there are rows for all other conditions leading to the undesired conclusion value. 
  • Ensure there are no overlaps by which both the desired and undesired conclusion values are possible.
3
Conclusion Cardinality of More than One but Different Values
More than one row can evaluate to true for any given input and the conclusion values may be different Figure 4
  • Ensure full domain coverage of all fact types
  • Make sure the conclusion fact type name contains the word “List”.
  •  Ensuring the operator in the conclusion cell is set-oriented, such as “Append With”
  • Compare logic to business input.  Validating it is difficult because it permits overlaps in logic, so other than checking with business people, there is no easy way to find incorrect logic.  

 

Table 1 : Summary of Three Rule Family Classifications

A Classification #2 Rule Family may have more than two possible conclusion values and may have more than one row evaluating to true for the “desired” but the example shown is the most common.

Similar Resources

Enhancing Your Team’s BPM Capabilities: The Value of External Expertise

Enhancing Your Team’s BPM Capabilities: The Value of External Expertise

Author(s):

Editor & Founder, BPMInstitute.org, BAInstitute.org and DBIZInstitute.org

Enhancing Your Team's BPM Capabilities: The Value of External Expertise In today’s dynamic business environment, managing and improving business processes is critical for any organization aiming to maintain a competitive edge. Many companies consider handling Business...

Exploring Shared Data Model and Notation (SDMN) and Its Role in BPM+

Exploring Shared Data Model and Notation (SDMN) and Its Role in BPM+

Author(s):

Editor & Founder, BPMInstitute.org, BAInstitute.org and DBIZInstitute.org

Exploring Shared Data Model and Notation (SDMN) and Its Role in BPM+ Introduction In the evolving landscape of Business Process Management (BPM), the introduction of Shared Data Model Notation (SDMN) marks a significant advancement. As businesses increasingly seek to...

Embracing the Future: Low-Code and No-Code Platforms in BPM+

Embracing the Future: Low-Code and No-Code Platforms in BPM+

Author(s):

Editor & Founder, BPMInstitute.org, BAInstitute.org and DBIZInstitute.org

Embracing the Future: Low-Code and No-Code Platforms in BPM+ Introduction In the realm of business process management (BPM), low-code and no-code platforms have emerged as transformative tools, reshaping how organizations develop applications and manage workflows....

Featured Certificate: BPM Specialist

Everyone starts here.

You're looking for a way to improve your process improvement skills, but you're not sure where to start.

Earning your Business Process Management Specialist (BPMS) Certificate will give you the competitive advantage you need in today's world. Our courses help you deliver faster and makes projects easier.

Your skills will include building hierarchical process models, using tools to analyze and assess process performance, defining critical process metrics, using best practice principles to redesign processes, developing process improvement project plans, building a center of excellence, and establishing process governance.

The BPMS Certificate is the perfect way to show employers that you are serious about business process management. With in-depth knowledge of process improvement and management, you'll be able to take your business career to the next level.

Learn more about the BPM Specialist Certificate

Courses

  •  

 

Certificates

  • Business Process Management Specialist
  • Earning your Business Process Management Specialist (BPMS) Certificate will provide you with a distinct competitive advantage in today’s rapidly evolving business landscape. With in-depth knowledge of process improvement and management, you’ll be able to take your business career to the next level.
  • BPM Professional Certificate
    Business Process Management Professional
  • Earning your Business Process Management Professional (BPMP) Certificate will elevate your expertise and professional standing in the field of business process management. Our BPMP Certificate is a tangible symbol of your achievement, demonstrating your in-depth knowledge of process improvement and management.

Certification

BPM Certification

  • Make the most of your hard-earned skills. Earn the respect of your peers and superiors with Business Process Management Certification from the industry's top BPM educational organization.

Courses

 

Certificates

  • Operational Excellence Specialist
  • Earning your Operational Excellence Specialist Certificate will provide you with a distinct advantage in driving organizational excellence and achieving sustainable improvements in performance.
 

 

OpEx Professional Certificate

  • Operational Excellence Professional
  • Earn your Operational Excellence Professional Certificate and gain a competitive edge in driving organizational excellence and achieving sustainable improvements in performance.

Courses

Certificate
  •  

  • Agile BPM Specialist
  • Earn your Agile BPM Specialist Certificate and gain a competitive edge in driving business process management (BPM) with agile methodologies. You’ll gain a strong understanding of how to apply agile principles and concepts to business process management initiatives.  
 

Business Architecture

 

Certificates

  • Business Architecture Specialist
  • The Business Architecture Specialist (BAIS) Certificate is proof that you’ve begun your business architecture journey by committing to the industry’s most meaningful and credible business architecture training program.

  • Business Architecture Professional
  • When you earn your Business Architecture Professional (BAIP) Certificate, you will be able to design and implement a governance structure for your organization, develop and optimize business processes, and manage business information effectively.

BA CertificationCertification

  • Make the most of your hard-earned skills. Earn the respect of your peers and superiors with Business Architecture Certification from the industry's top BPM educational organization.

Courses

 

Certificates

  • Digital Transformation Specialist
  • Earning your Digital Transformation Specialist Certificate will provide you with a distinct advantage in today’s rapidly evolving business landscape. 
 

 

  • Digital Transformation Professional
  • The Digital Transformation Professional Certificate is the first program in the industry to cover all the key pillars of Digital Transformation holistically with practical recommendations and exercises.

Courses

Certificate

  • Agile Business Analysis Specialist
  • Earning your Agile Business Analysis Specialist Certificate will provide you with a distinct advantage in the world of agile software development.

Courses

Certificate
  • DAS Certificate
  • Decision Automation Specialist
  • Earning your Decision Automation Certificate will empower you to excel in the dynamic field of automated decision-making, where data-driven insights are pivotal to driving business innovation and efficiency.