DMN Decision Table

A decision table represents decision logic which can be depicted as a table in DMN 1.3. It consists of inputs, outputs and rules.

A decision table is represented by a decisionTable element inside a decision XML element.

<definitions xmlns="https://www.omg.org/spec/DMN/20191111/MODEL/" id="definitions" name="definitions" namespace="http://camunda.org/schema/1.0/dmn">
  <decision id="dish" name="Dish">
    <decisionTable id="decisionTable">
    <!-- ... -->
    </decisionTable>
  </decision>
</definitions>

Decision Name

The name describes the decision for which the decision table provides the decision logic. It is set as the name attribute on the decision element. It can be changed via the Properties Panel after selecting the respective “Decision” in the Decision Requirements Diagram view.

<decision id="dish" name="Dish">
  <decisionTable id="decisionTable">
  <!-- ... -->
  </decisionTable>
</decision>

Decision Id

The id is the technical identifier of the decision. It is set in the id attribute on the decision element. Just as the name, the id can be changed via the Properties Panel after selecting the respective “Decision” in the Decision Requirements Diagram view.

Each decision should have an unique id when it is deployed to Camunda 7. The engine uses the id as the decision key of the deployed DecisionDefinition.

<decision id="dish" name="Dish">
  <decisionTable id="decisionTable">
  <!-- ... -->
  </decisionTable>
</decision>

On this Page: