◷ Reading Time: 3 minutes
Decision Model and Notation (DMN) is a standard for decision modeling. One of the benefits of having a standard is that it enables interchangeability. What that means is you can bring your decision from one system to another – in other words, there is no ‘lock-in’ anymore. Let’s see this in action. In this example, we import the DMN XML 1.1 decision table from an original example that has come with a standard specification.
To see the DMN options, create a FlexRule project and navigate to,
Document --> DMN XML 1.1
Select an option and then you can simply select the XML file:
Now you will see the list of its decision tables. Select any of those that you wish to import and press the ‘Import’ button. Once the import DMN process is finished, open the decision table:
It’s as simple as that! You have your decision table ready.
Also, the same way the Decision Requirements Diagram (DRD) can be imported and executed:
You can now start debugging, running the decision tables and decision requirements diagram (DRD) and simulating the execution by providing values to its input column (Pre-Bureau Risk Category), and seeing the result of the output (Bureau Call Type).
Once the execution is finished, you can see the result below:
- Open standards in decision modeling allow interchangeability, and you don’t need to worry about being ‘locked in’ to a particular vendor.
- You can also, import the whole DMN model including:
- Decision Tables
- Context and Invoke boxes
- Decision Requirement Diagram – DRD models
- Deploy your decision as a service and share the knowledge across all processes and applications in your enterprise