DMN — Incident Priority Matrix (PRIORITY)
The classic impact-by-urgency matrix, written as a DMN table with an explicit PRIORITY hit policy so the output order decides which of several matching rules wins. Complete over both enumerated columns, so every incident that can be described gets a priority.
Make it your own.
title "Incident priority"
input Ticket "Incident ticket"
source Sla "Service level agreement"
decision Priority "Priority"
Ticket -> Priority
Sla -> Priority
decision Priority "Priority" {
hit P
input Impact enum { Widespread, Localised, Single }
input Urgency enum { High, Medium, Low }
output Level enum { P1, P2, P3, P4 }
rule Widespread | High -> P1
rule Widespread | Medium, Low -> P2
rule Localised | High -> P2
rule Localised | Medium -> P3
rule Localised | Low -> P4
rule Single | High, Medium -> P3
rule Single | Low -> P4
}