Blog Posts Decision / Rules Management DMN

How TDM Principles Inform Good Practice in DMN

Blog: Lux Magi - Decision Management for Finance

Decision Modeling notations have been adopted by companies to improve the integrity, transparency and agility of their important business decisions. They facilitate the management of business decisions as a vital business asset.

Over the past eight years, Decision Modeling has been dominated by two standards: The Decision Model (TDM), defined by Sapiens Inc, established in 2009 and documented superbly in The Decision Model book by Larry Goldberg and Barbara von Halle and The Decision Model and Notation (DMN) an open standard first defined by the Object Management Group (OMG) in 2013 and documented in books by James Taylor and Jan Purchase and Bruce Silver. Both standards are in use and continue to evolve.

While James Taylor and I were collaborating on our Decision Modelling book, and discussing our experiences of using DMN after using TDM, we wondered: how does TDM experience inform good practice in DMN? What can newcomers to Decision Modelling and DMN learn from the earlier standard?

In short, a great deal.

We believe that new, and even experienced, Decision Modeling practitioners can benefit significantly from background knowledge of TDM. This article explains why and what these benefits are.

Key Similarities and Differences Between TDM and DMN

About Versions

As both TDM and DMN are evovling, it’s important to be clear about which versions we are talking about.

After TDM was originally documented in The Decision Model, between 2009 and 2012, a number of white paper extensions were produced. It is this public version of TDM that is the focus of this article. TDM has continued to evolve as part of the Sapiens’ DECISION tool but this extended approach is not yet a matter of public record and we don’t discuss the innovations made, or being made to this version of TDM. Regarding DMN, we are specifically referring to version 1.1 of the standard.

How They Compare

Their relationship between the public version of TDM and DMN is summarized visually in the diagram below.

The similarities and differences of TDM and DMN

As the figure shows, the DMN notation is broadly a superset of that provided by TDM. Because DMN is just a notation not an approach, it lacks TDM’s method and best practices. There is no doubt that many of these methodological elements are of huge benefit to decision modelers. Although DMN does not define a methodology for decision modeling, as the position of the text in the figure shows, it does offer some support for the structural, declarative and integrity principles of TDM. The two have a great deal of overlap which makes adopting DMN easier for someone with TDM experience. For example both:

Where they overlap TDM and DMN are very similar and have broadly similar aims. It’s apparent that TDM has directly influenced DMN and the two have common notational roots.

They also clearly have different strengths:

Many of these differences stem from the fact that DMN is only a notation and does not address method or best practice as TDM does. It is clear, however, that much of TDM’s wisdom can be applied using DMN.

Using TDM Principles in DMN

TDM defines a set of 15 principles for decision modeling many of which can be applied using DMN. The declarative and integrity principles represent an approach to modeling which exceeds the scope of a notation definition like DMN but can still be very useful when applying DMN.

Structural Principles

TDM’s structural principles (1-7), which concern the representation of tabular logic, are mostly preserved by DMN (except for principle 5, see below). Principle 1 (‘tabular’) and principle 4 (‘row’) establish a means of using Decision Tables to express logic that are compatible with DMN. Principle 7 (‘connection’) establishes dependency relationships between logic definitions so that the outcomes of one decision can be used in the conditions of its dependents—this is directly applicable in DMN. However, some of the other principles have minor differences:

Declarative Principles

DMN does not explicitly address TDM’s declarative principles (8-10). Principle 8 (‘declarative heading’), principle 9 (‘declarative body’) and principle 10 (‘declarative inferential relationship’) respectively forbid the order of condition columns and rules in Rule Families (Decision Tables), and decision dependencies in Decision Views (DRDs),  to impact the meaning and behavior of Decision Tables. Principles 8 and 10 are neither explicitly mentioned nor contradicted by DMN’s definition of Decision Requirements or Decision Tables. Both should be considered a best practice: neither column, rule or dependency ordering should have any impact on the meaning of a model, all else being equal. Principle 9 is upheld by the DMN Decision Table definition when using the Unique, Any, Priority, Output or Collect hit policies; rule order is significant for other hit policies.

Integrity Principles

DMN does not explicitly address TDM’s integrity principles (11-15) except principle 15 (‘business alignment’) which is directly supported by object and process metadata in decisions (supportedObjective, usingTasks and usingProcesses). The following TDM integrity principles should become best practices when using DMN:

TDM integrity principle 13 (‘rule family transitive’) states that two direct sub-decisions of a specified decision should have no dependencies between them, see the diagram below for an example. This is considered to be poor factoring of business logic and is likely to foster some repetition in the Rule Families. In our experience this restriction is sometimes impractical and we would suggest that it be upheld as an ideal, not as a best practice.

Conclusion

Prior experience with TDM is a huge benefit for any decision modeler. The best practices and principles that TDM provides are effective pre-requisites for rigorous and accomplished decision modeling and TDM will provide modelers with a solid foundation for building valuable decision models.

TDM has many best practices that can be reused in DMN with some minor adjustments, however modelers with TDM experience should consider the differences between them carefully before producing real-world decision models using DMN. Do not infer from the absence of a standard method for DMN that the TDM approach can be directly substituted.

Lux Magi’s DMN training courses can help those with TDM experience who need to master DMN quickly. A more in depth comparison between the features of TDM and DMN is included in appendix D of our book.

Our thanks to Sapiens for all their feedback and help in producing the materials on which this article was based.

Leave a Comment

Get the BPI Web Feed

Using the HTML code below, you can display this Business Process Incubator page content with the current filter and sorting inside your web site for FREE.

Copy/Paste this code in your website html code:

<iframe src="https://www.businessprocessincubator.com/content/how-tdm-principles-inform-good-practice-in-dmn/?feed=html" frameborder="0" scrolling="auto" width="100%" height="700">

Customizing your BPI Web Feed

You can click on the Get the BPI Web Feed link on any of our page to create the best possible feed for your site. Here are a few tips to customize your BPI Web Feed.

Customizing the Content Filter
On any page, you can add filter criteria using the MORE FILTERS interface:

Customizing the Content Filter

Customizing the Content Sorting
Clicking on the sorting options will also change the way your BPI Web Feed will be ordered on your site:

Get the BPI Web Feed

Some integration examples

BPMN.org

XPDL.org

×