Decision Model and Notation

Last updated

In business analysis, the Decision Model and Notation (DMN) is a standard published by the Object Management Group. [1] It is a standard approach for describing and modeling repeatable decisions within organizations to ensure that decision models are interchangeable across organizations.

Contents

The DMN standard provides the industry with a modeling notation for decisions that will support decision management and business rules. The notation is designed to be readable by business and IT users alike. This enables various groups to effectively collaborate in defining a decision model:

The DMN standard can be effectively used standalone but it is also complementary to the BPMN and CMMN standards. BPMN defines a special kind of activity, the Business Rule Task, which "provides a mechanism for the process to provide input to a business rule engine and to get the output of calculations that the business rule engine might provide" [2] [3] that can be used to show where in a BPMN process a decision defined using DMN should be used.

DMN has been made a standard for Business Analysis according to BABOK v3. [4] [5]

Elements of the standard

The standard includes three main elements

Use cases

The standard identifies three main use cases for DMN

Benefits

Using the DMN standard will improve business analysis and business process management, since

Relationship to BPMN

DMN has been designed to work with BPMN. Business process models can be simplified by moving process logic into decision services. DMN is a separate domain within the OMG that provides an explicit way to connect to processes in BPMN. Decisions in DMN can be explicitly linked to processes and tasks that use the decisions. This integration of DMN and BPMN has been studied extensively. [9] DMN expects that the logic of a decision will be deployed as a stateless, side-effect free Decision Service. Such a service can be invoked from a business process and the data in the process can be mapped to the inputs and outputs of the decision service. [10]

DMN BPMN example

As mentioned, BPMN is a related OMG Standard for process modeling. DMN complements BPMN, providing a separation of concerns between the decision and the process. The example here describes a BPMN process and DMN DRD (Decision Requirements Diagram) for onboarding a bank customer. Several decisions are modeled and these decisions will direct the processes response.

New bank account process

In the BPMN process model shown in the figure, a customer makes a request to open a new bank account. The account application provides the account representative with all the information needed to create an account and provide the requested services. This includes the name, address and various forms of identification. In the next steps of the work flow, the 'Know Your Customer' (KYC) services are called. In the 'KYC' services, the name and address are validated; followed by a check against the international criminal database (Interpol) and the database of persons that are 'Politically exposed persons (PEP)'. The PEP is a person who is either entrusted with a prominent political position or a close relative thereof. Deposits from persons on the PEP list are potentially corrupt. This is shown as two services on the process model. Anti-money-laundering (AML) regulations require these checks before the customer account is certified.

Figure: A process with decisions for creating a new bank customer. DMN NewBankAccountProcess BPMN.jpg
Figure: A process with decisions for creating a new bank customer.

The results of these services plus the forms of identification are sent to the Certify New Account decision. This is shown as a 'rule' activity, verify account, on the process diagram. If the new customer passes certification, then the account is classified into onboarding for Business Retail, Retail, Wealth Management and High Value Business. Otherwise the customer application is declined. The Classify New Customer Decision classifies the customer. If the verify-account process returns a result of 'Manual' then the PEP or the Interpol check returned a close match. The account representative must visually inspect the name and the application to determine if the match is valid and accept or decline the application.

Certify new account decision

The decision structure logic and data associated with the account verification. DMNCertifyNewA DRG.jpg
The decision structure logic and data associated with the account verification.

An account is certified for opening if the individual's' address is verified, and if valid identification is provided, and if the applicant is not on a list of criminals or politically exposed persons. These are shown as sub-decisions below the 'certify new account' decision. The account verification services provides a 100% match of the applicants address. For identification to be valid, the customer must provide a driver's license, passport or government issued ID.

The checks against PEP and Interpol are 'Fuzzy' matches and return matching score values. Scores above 85 are considered a 'match' and scores between 65 and 85 would require a 'manual' screening process. People who match either of these lists are rejected by the account application process. If there is a partial match with a score between 65 and 85, against the Interpol or PEP list then the certification is set to manual and an account representative performs a manual verification of the applicant's data. These rules are reflected in the figure below, which presents the decision table for whether to pass the provided name for the lists checks.

Business rules for evaluating the score of the PEP and Interpol 'Fuzzy' match. DMN pass excluded names table cropped.png
Business rules for evaluating the score of the PEP and Interpol 'Fuzzy' match.

Client category

The client's on-boarding process is driven by what category they fall in. The category is decided by the:

This decision is shown below:

The client category decision. DMN client category DRG.jpg
The client category decision.

There are 6 business rules that determine the client's category and these are shown in the decision table here:

A DMN decision table with business rules for classifying a customer into a category based on the input data. DMN client category table.jpg
A DMN decision table with business rules for classifying a customer into a category based on the input data.

Summary example

In this example, the outcome of the 'Verify Account' decision directed the responses of the new account process. The same is true for the 'Classify Customer' decision. By adding or changing the business rules in the tables, one can easily change the criteria for these decisions and control the process differently.

Modeling is a critical aspect of improving an existing process or business challenge. Modeling is generally done by a team of business analysts, IT personnel, and modeling experts. The expressive modeling capabilities of BPMN allows business analyst to understand the functions of the activities of the process. Now with the addition of DMN, business analysts can construct an understandable model of complex decisions. Combining BPMN and DMN yields a very powerful combination of models that work synergistically to simplify processes.

Relationship to decision mining and process mining

Automated discovery techniques that infer decision models from process execution data have been proposed as well. [11] Here, a DMN decision model is derived from a data-enriched event log, along with the process that uses the decisions. In doing so, decision mining complements process mining with traditional data mining approaches.

cDMN extension

Constraint Decision Model and Notation (cDMN) is a formal notation for expressing knowledge in a tabular, intuitive format. [12] It extends DMN with constraint reasoning and related concepts while aiming to retain the user-friendliness of the original. cDMN is also meant to express other problems besides business modeling, such as complex component design. [13]

It extends DMN in four ways:

Due to these additions, cDMN models can express more complex problems. [12] Furthermore, they can also express some DMN models in more compact, less-convoluted ways. [12] Unlike DMN, cDMN is not deterministic, in the sense that a set of input values could have multiple different solutions. Indeed, where a DMN model always defines a single solution, a cDMN model defines a solution space.

Usage of cDMN models can also be integrated in Business Process Model and Notation process models, just like DMN.

Example

As an example, consider the well-known map coloring or Graph coloring problem. Here, we wish to color a map in such a way that no bordering countries share the same color. The constraint table shown in the figure (as denoted by its E* hit policy in the top-left corner) expresses this logic. It is read as "For each country c1, country c2 holds that if they are different countries which border, then the color of c1 is not the color of c2.

Partial implementation of Map Coloring problem in Constraint Decision Model and Notation Map Coloring in cDMN.png
Partial implementation of Map Coloring problem in Constraint Decision Model and Notation

Here, the first two columns introduce two quantifiers, both of type country, which serve as universal quantifier. In the third column, the 2-ary predicate borders is used to express when two countries have a shared border. Finally, the last column uses the 1-ary function color of, which maps each country on a color.

Related Research Articles

<span class="mw-page-title-main">Object Management Group</span> Computer industry standards consortium

The Object Management Group (OMG) is a computer industry standards consortium. OMG Task Forces develop enterprise integration standards for a range of technologies.

<span class="mw-page-title-main">Unified Modeling Language</span> Software system design modeling tool

The unified modeling language (UML) is a general-purpose visual modeling language that is intended to provide a standard way to visualize the design of a system.

Camunda provides a workflow and decision automation platform offering process orchestration capabilities to organizations of any size. Camunda Platform comes from years of research and development including open source initiatives.

A business rule defines or constrains some aspect of a business. It may be expressed to specify an action to be taken when certain conditions are true or may be phrased so it can only resolve to either true or false. Business rules are intended to assert business structure or to control or influence the behavior of the business. Business rules describe the operations, definitions and constraints that apply to an organization. Business rules can apply to people, processes, corporate behavior and computing systems in an organization, and are put in place to help the organization achieve its goals. For example, a business rule might state that no credit check is to be performed on return customers. Other examples of business rules include requiring a rental agent to disallow a rental tenant if their credit rating is too low, or requiring company agents to use a list of preferred suppliers and supply schedules. While a business rule may be informal or even unwritten, documenting the rules clearly and making sure that they don't conflict is a valuable activity. When carefully managed, rules can be used to help the organization to better achieve goals, remove obstacles to market growth, reduce costly mistakes, improve communication, comply with legal requirements, and increase customer loyalty.

The Web Services Business Process Execution Language (WS-BPEL), commonly known as BPEL, is an OASIS standard executable language for specifying actions within business processes with web services. Processes in BPEL export and import information by using web service interfaces exclusively.

<span class="mw-page-title-main">Business process modeling</span> Activity of representing processes of an enterprise

Business process modeling (BPM) in business process management and systems engineering is the activity of representing processes of an enterprise, so that the current business processes may be analyzed, improved, and automated. BPM is typically performed by business analysts, who provide expertise in the modeling discipline; by subject matter experts, who have specialized knowledge of the processes being modeled; or more commonly by a team comprising both. Alternatively, the process model can be derived directly from events' logs using process mining tools.

A BRMS or business rule management system is a software system used to define, deploy, execute, monitor and maintain the variety and complexity of decision logic that is used by operational systems within an organization or enterprise. This logic, also referred to as business rules, includes policies, requirements, and conditional statements that are used to determine the tactical actions that take place in applications and systems.

<span class="mw-page-title-main">Business Process Model and Notation</span> Graphical representation for specifying business processes

Business Process Model and Notation (BPMN) is a graphical representation for specifying business processes in a business process model.

<span class="mw-page-title-main">Systems modeling language</span> General-purpose modeling language

The systems modeling language (SysML) is a general-purpose modeling language for systems engineering applications. It supports the specification, analysis, design, verification and validation of a broad range of systems and systems-of-systems.

<span class="mw-page-title-main">MagicDraw</span> Systems modelling software

MagicDraw is a proprietary visual UML, SysML, BPMN, and UPDM modeling tool with team collaboration support.

The Business Process Definition Metamodel (BPDM) is a standard definition of concepts used to express business process models, adopted by the OMG. Metamodels define concepts, relationships, and semantics for exchange of user models between different modeling tools. The exchange format is defined by XSD and XMI, a specification for transformation of OMG metamodels to XML. Pursuant to the OMG's policies, the metamodel is the result of an open process involving submissions by member organizations, following a Request for Proposal (RFP) issued in 2003. BPDM was adopted in initial form in July 2007, and finalized in July 2008.

<span class="mw-page-title-main">Business architecture</span>

In the business sector, business architecture is a discipline that "represents holistic, multidimensional business views of: capabilities, end‐to‐end value delivery, information, and organizational structure; and the relationships among these business views and strategies, products, policies, initiatives, and stakeholders."

The Semantics of Business Vocabulary and Business Rules (SBVR) is an adopted standard of the Object Management Group (OMG) intended to be the basis for formal and detailed natural language declarative description of a complex entity, such as a business. SBVR is intended to formalize complex compliance rules, such as operational rules for an enterprise, security policy, standard compliance, or regulatory compliance rules. Such formal vocabularies and rules can be interpreted and used by computer systems. SBVR is an integral part of the OMG's model-driven architecture (MDA).

jBPM is an open-source workflow engine written in Java that can execute business processes described in BPMN 2.0. jBPM is a toolkit for building business applications to help automate business processes and decisions. It's sponsored by Red Hat, part of the JBoss community and closely related to the Drools and OptaPlanner projects in the KIE group. It is released under the ASL by the JBoss company.

<span class="mw-page-title-main">Function model</span>

In systems engineering, software engineering, and computer science, a function model or functional model is a structured representation of the functions within the modeled system or subject area.

Business process management (BPM) is the discipline in which people use various methods to discover, model, analyze, measure, improve, optimize, and automate business processes. Any combination of methods used to manage a company's business processes is BPM. Processes can be structured and repeatable or unstructured and variable. Though not required, enabling technologies are often used with BPM.

IBM Blueworks Live is a business process modeller, belonging under the set of IBM SmartCloud applications. The application is designed to help organizations discover and document their business processes, business decisions and policies in a collaborative manner. It is designed to be simple and intuitive to use, while still having the capabilities to implement more complex models. Blueworks Live adheres to the BPMN 2.0 standard developed and maintained by BPMN.org.

ADONIS is a Business Process Management (BPM) tool, used for documentation, analysis, and optimization of business processes. It enables the visualization of process flows and standard operating procedures (SOPs), provides visibility into how they operate, and helps increase their efficiency by revealing redundant efforts and opportunities for improvement.

<span class="mw-page-title-main">Enterprise Architect (software)</span> Visual modeling and design tool

Sparx Systems Enterprise Architect is a visual modeling and design tool based on the OMG UML. The platform supports: the design and construction of software systems; modeling business processes; and modeling industry based domains. It is used by businesses and organizations to not only model the architecture of their systems, but to process the implementation of these models across the full application development life-cycle.

Case Management Model and Notation (CMMN) is a graphical representation for graphically expressing a Case, as well as an interchange format for exchanging Case models among different tools.

References

  1. OMG standard "Decision Model and Notation (DMN)", current version
  2. OMG standard "BPMN", current version
  3. Purchase, Jan (January 5, 2015). "Book Review: Process and Decision Modeling in BPMN/DMN". Decision Management for Finance Blog. Lux Magi Ltd. Retrieved 19 April 2015.
  4. IIBA (April 15, 2015). A Guide to the Business Analysis Body of Knowledge® (BABOK® Guide) (3rd ed.). p. 512. ISBN   978-1927584026.
  5. "Decision Modeling now standard for Business Analysts".
  6. Mann, Stephanie. "Business rules management: Tools, techniques for success". ebizq.net, The Insider's Guide to Next-Generation BPM. Retrieved 19 April 2015.
  7. Discovering the Decisions within Your Business Processes using IBM Blueworks Live, Publisher IBM Redbooks, 2014 ISBN   0738453579
  8. Ronen, Gil; Feldman, Jacob. "Decision models using dmn and bpmn standards: mortgage recommender". Slideshare. OpenRules.
  9. F. Hasic et al. (2018). Augmenting processes with decision intelligence: Principles for integrated modelling. Decision Support Systems, 107, 1-12.
  10. F. Hasic et al. (2020). Decision as a Service (DaaS): A Service-Oriented Architecture Approach for Decisions in Processes. IEEE Transactions on Services Computing
  11. J. De Smedt et al. (2019). Holistic discovery of decision models from process execution data. Knowledge-Based Systems, 183, 104866
  12. 1 2 3 Vandevelde, Simon; Aerts, Bram; Vennekens, Joost (12 Nov 2021). "Tackling the DM challenges with cDMN: A tight integration of DMN and constraint reasoning". Theory and Practice of Logic Programming: 1–24. doi:10.1017/S1471068421000491. S2CID   244083802.
  13. Aerts, Bram; Deryck, Marjolein; Vennekens, Joost (January 1, 2022). "Knowledge-based decision support for machine component design: A case study". Expert Systems with Applications. 187: 115869. doi:10.1016/j.eswa.2021.115869. S2CID   240156716.