red6/dmn-check

Implement a Decision Table Validator

Open

#84 opened on Mar 28, 2022

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Java (10 forks)auto 404
enhancementhelp wanted

Repository metrics

Stars
 (44 stars)
PR merge metrics
 (PR metrics pending)

Description

A decision table consists of:

  • an information item name: the name of an InformationItem, if any, for which the decision table is its value expression. This will usually be the name of the Decision or Business Knowledge Model for which the decision table provides the decision logic.
  • an output label, which can be any text to describe the output of the decision table. The result of a decision table must be referenced using the information item name, not the output label, in another expression.
  • a set of inputs (zero or more). Each input is made of an input expression and a number of input entries. The specification of input expression and all input entries is referred to as the input clause.
  • a set of outputs (one or more). A single output has no name, only a value. Two or more outputs are called output components. Each output component SHALL be named. Each output (component) SHALL specify an output entry for each rule. The specification of output component name (if multiple outputs) and all output entries is referred to as an output clause.
  • a list of rules (one or more) in rows or columns of the table (depending on orientation), where each rule is composed of the specific input entries and output entries of the table row (or column). If the rules are expressed as rows, the columns are clauses, and vice versa.

See chapter 8 of the DMN specification (https://www.omg.org/spec/DMN).

Contributor guide