DMN examples
Eight decision tables, each demonstrating a different hit policy or FEEL feature. Every table is printed in full, so you can copy the rules straight into the DMN editor.
Read them in order if you are learning: the first uses Unique, and the later ones move through First, Collect and Priority.
The rules are here in full. Each page prints the complete decision table, so building it in the DMN editor is a matter of adding the columns and typing the rows.
#In this set
Discount by customer tier (DMN)
Two inputs, one output, no overlaps.
Loan eligibility (DMN)
First hit policy, because the rules are ordered.
Shipping cost (DMN)
Weight bands and destination zones.
Support ticket priority (DMN)
Impact and urgency, resolved to a priority.
Expense approval routing (DMN)
Who approves what, by amount and category.
Holiday entitlement (DMN)
Service length and contract type.
Insurance risk score (DMN)
Collect, because every matching rule contributes.
Access level by role (DMN)
Roles to permissions, with a Priority hit policy.
#Everything under here
#Related
The hit policy is the whole decision.
