Decision Table
Decision Table
A decision table is a structured way of representing and analyzing complex decision logic,
where you can map different combinations of conditions (inputs) to the corresponding actions
(outputs). It's a tool used to aid in decision-making by organizing and presenting all possible
scenarios in a compact, easy-to-read format.
1. Conditions (Inputs): These are the factors or variables that affect the decision-making
process. Conditions are typically binary (True/False) or can take on multiple values.
2. Actions (Outputs): These are the possible outcomes or decisions that are taken based on
the conditions.
3. Rules: Each rule represents a combination of condition values (True/False or other
values), and specifies the corresponding action or outcome.
Let's consider a scenario where a company gives discounts based on customer type and purchase
amount.
Conditions:
Actions:
• A1: No Discount
• A2: 10% Discount
• A3: 20% Discount
C2: Purchase
C1: Customer Type A1: No A2: 10% A3: 20%
Rules Amount
(New/Returning) Discount Discount Discount
(<$100/$100)
R1 New <$100 X
R2 New >=$100 X
R3 Returning <$100 X
R4 Returning >=$100 X
• R1: If the customer is new and the purchase amount is less than $100, No Discount (A1)
applies.
• R2: If the customer is new and the purchase amount is $100 or more, a 10% Discount
(A2) is applied.
• R3: If the customer is returning and the purchase amount is less than $100, a 20%
Discount (A3) is applied.
• R4: If the customer is returning and the purchase amount is $100 or more, a 20%
Discount (A3) applies.
1. Limited Entry Decision Table: A decision table where each condition has a small
number of possible values (e.g., True/False or Yes/No).
2. Extended Entry Decision Table: A decision table that can accommodate more complex
situations with multiple values for each condition.
3. Condition/Action Matrix: A simplified version of decision tables used in software
development or business analysis.
• Clarity: It helps visualize the relationship between conditions and actions, making the
decision logic easier to understand.
• Comprehensiveness: Decision tables help ensure that all possible scenarios are
considered and that no combinations are overlooked.
• Error Reduction: By systematically mapping out all conditions and actions, decision
tables reduce the chances of missing important decision scenarios.
• Efficient Analysis: It allows easy identification of overlapping or redundant rules and
helps streamline decision-making processes.
Conclusion:
A decision table is a powerful tool for modeling decision logic in a structured manner. It's
particularly useful when there are multiple conditions that affect a set of outcomes. By
organizing all combinations and possible actions, decision tables allow decision-makers to
ensure completeness and consistency in their decision-making process.