Defining a default value

You can set a default value on a decision node to provide a fallback value if no value is available.

About this task

When you author the logic of a decision node, you create the rules that are required to reach a decision for each possible combination of input values. In practice, it is usually not possible to consider all possible cases, even for a simple decision.

An easy way to make the decision logic complete consists in specifying a default value for the decision. The default value applies if no other rule made a decision, and is always the last rule to execute.

This default value is just a fallback measure and should not prevent you from completing the decision logic in an informed and deliberate way.

You specify the default value as an action of the form:

set decision to <value>

If the node uses multiple values enabled by lists, use the form:

add <value1> to decision
add <value2> to decision
...

Procedure

To create a default value for a decision node:

  1. Open the Logic tab of the node.
  2. Click the + button, and select Default rule.
  3. Define the default rule in the rule editor.

    For more information about how to build rules, see Working with business rules. The rule language reference manual is available in the Rule language section.