Decision Requirements Diagram (DRD)
The decision requirements diagram (DRD) is the first layer of DMN. It shows the decisions of a model and what each decision needs. A DRD does not say how a decision is made; that is the logic inside each decision, usually a decision table. The DRD of a whole model, across all its diagrams, is called the decision requirements graph (DRG).
Elements
| Element | Symbol | What it is |
|---|---|---|
| Decision | Rectangle | Determines one result from its inputs. It holds the decision logic: a decision table, a literal expression, or another boxed expression. |
| Input data | Rounded rectangle (stadium) | Data that comes from outside the model, for example the order or the customer. A decision reads it under its name. |
| Business knowledge model (BKM) | Rectangle with cut corners | A reusable piece of logic with parameters, a function that decisions can call. Several decisions can use the same BKM. |
| Knowledge source | Rectangle with a wavy bottom | The authority behind a decision or a BKM: a regulation, a policy, a person or a department. Documentation only. |
| Decision service | Rounded rectangle split into two parts | A group of decisions that is called as one unit: the upper part holds the decisions whose results it returns, the lower part the decisions it uses internally. |
| Text annotation | Bracket with text | A comment, connected to an element by an association. |
Requirements
The connections of a DRD are requirements: the arrow points to the element that needs something.
| Requirement | Line | From → to | Meaning |
|---|---|---|---|
| Information requirement | Solid, filled arrowhead | Input data or decision → decision | The decision needs this value. The result of a required decision is available to the requiring decision under the name of that decision. |
| Knowledge requirement | Dashed, open arrowhead | BKM → decision or BKM | The decision (or BKM) invokes this business knowledge model. |
| Authority requirement | Dashed, filled round end | Knowledge source → decision, BKM or knowledge source; input data or decision → knowledge source | Where the rules come from, or what a knowledge source is based on. |
A DRD has no cycles: a decision cannot require itself, directly or through other decisions.
Example
A discount decision for an order:
- Input data Order (amount, product group) and Customer (status, years as a customer).
- Decision Customer level requires Customer and decides gold, silver or standard.
- Decision Discount requires Order and the decision Customer level, and decides the discount in percent.
- Knowledge source Pricing policy 2026 has an authority requirement to both decisions.
Evaluating Discount first evaluates Customer level, because Discount requires it. The decision that no other decision requires (Discount) is the top decision.
In Flower BPM
| Element | What Flower BPM does |
|---|---|
| Decision | Evaluated, when its logic is a decision table or a literal expression. A business rule task calls one decision of the DRD; without a choice, the top decision (the one no other decision requires; with several such decisions, the first one in the file). |
| Information requirement between decisions | Evaluated: the required decisions run first. The result of each is available under its variable name, which dmn-js sets to the name of the decision (for example Customer level, not its id). A table with one output gives its value (Customer level = "gold"), a table with several outputs a context (Discount.percent), a multiple hit policy a list, as in DMN. A cycle is an error, and so is a required decision that is not in the DMN. |
| Input data | Drawn, not evaluated. The values come from the process instead: pi, cur, par, model and pi.decisions are available in every expression, so an input expression reads pi.fields.priority.name rather than an input data element. |
| Business knowledge model, knowledge requirement | Drawn, not evaluated: a decision cannot invoke a BKM. Put the logic into the decision itself, or into a decision that the others require. |
| Knowledge source, authority requirement | Documentation only, as in DMN. |
| Decision service | Kept in the .dmn file; not drawn and not evaluated. |
Decisions, input data, business knowledge models, knowledge sources and text annotations can be drawn in the DMN modeler of Flower BPM (dmn-js); decision services cannot. Every element of an imported file is kept in the .dmn file. See DMN Coverage.