DEV Community

Akshara Chandran
Akshara Chandran

Posted on

DECISION TABLE

A decision table is a structured representation of a decision-making process, often used in business analysis, software testing, and decision support systems. It helps organize complex logic and conditions into a tabular format, making it easier to understand and manage.

Here's a typical structure of a decision table:

Conditions or Criteria: These are the factors or conditions that influence the decision. They represent the different inputs or variables that need to be considered.

Rules: Each row in the decision table represents a specific combination of conditions and the corresponding decision or action to be taken based on those conditions.

Actions or Decisions: These are the possible outcomes or decisions that can result from the combination of conditions. Each action corresponds to a particular set of conditions being met.

Columns: Decision tables typically have columns representing each condition, as well as columns for the resulting actions or decisions.

The decision table allows for the representation of various combinations of conditions and corresponding actions, making it easier to visualize and analyze complex decision-making processes. It can also help identify inconsistencies, redundancies, or gaps in logic.

Now let's make a decision table for the following conditions:

  1. Blank Field
  2. Phone Number
  3. Mail ID
  4. Availability of Appointment Date/Time

PS: YOU CAN USE THE FORMULA 2^(NO.OF FIELDS/CONDITIONS) TO COME UP WITH RULES. HERE IT IS 2^4 THAT IS 16 RULES.

Image description

Top comments (0)