When are extended conditions or actions meaningful
Whenever a condition or action takes on
-
multiple and mutually exclusive values,
these values should be defined in a value table for the condition or action.
Examples
| color: |
red, yellow, green, blue, etc. |
| season: |
spring, summer, autumn, winter |
| months: |
January, February, March, etc. |
| days of the week: |
Monday, Tuesday, Wednesday, etc. |
| age group: |
below 18, 19-40, 41-60, 61-80, over 80 |
The number of condition and action rows thus remains low and complex issues can be clearly displayed in a small space.