Using decision tables

Objective

After completing this lesson, you will be able to Apply Decision Tables.

Decision Tables

Business rules

Decision logic is presented in a decision table, which is built from different components. In the decision table, each row is a business rule. Examples of business rules are the following:

  • 'People who have had more than two accidents are denied insurance.'
  • 'People who are younger than 18 are denied insurance.'
  • 'People who have more than four traffic points are denied insurance.'

Decision table components

Decision table structure

Check out this example of components and structure. Here are four rules expressed in the decision table. Every set of inputs must match one rule, which results in an output. Below are four rules expressed in the decision table. Every set of inputs must match one rule, which results in an output.

Operators are used to create business rules in decision tables. There are many different types of operators.

Log in to track your progress & complete quizzes