Task 3: Adding nodes
You add two nodes for the weather to the decision model. When you run the model, it
produces a greeting and weather advice.
About this task
In this task, you...
- Add an input node for the rain forecast, and a decision node for weather advice to the model.
- Add a decision table, and define the logic for the weather advice.
- Run the model to check your changes.
Step 1: Adding nodes to the model
About this task
In this step, you add a decision node and an input node for weather advice to the model.
Procedure
Step 2: Adding a decision table
About this task
A decision table groups business rules that share the same logic but have different values. Each row in a decision table represents a complete business rule. The decision table has separate columns for condition values and action values. When data enters a decision table, it is matched to values in condition columns and the associated action value is used in the output of the decision table (see Working with decision tables).
In this step, you add a decision table to the Weather advice node.
Procedure
Step 3: Running the model
About this task
In this step, you run your changes as explained in Task 1: Making a decision service.



