Writing simple and complex decision logic
Each decision node in the decision model mentioned previously defines a partial decision. The name and type of the node determine what the decision is about and what the node returns to another node higher in the diagram, while the arrows indicate which inputs (provided data elements and other sub-decisions) are available for this node to compute its decision (output).
Now comes the time to actually implement the logic that represents the decision that a specific node takes. Within the decision node, in the logic panel, we can use the two following decision artifacts to define the logic: business rules and decision tables.
Business rules
Business rules are declarative statements in the form of if conditions then outcome. Here is an example of a very simple business rule that could be added to the administrative eligibility decision node of our previous example:
Figure 8.3 – Business rule
Of course, we...