You are here:
Input Field Conditions in Decision Tables
When you create a decision table, select a source object for the decision table. Next, select the fields that you want to use as input and output. Finally, specify the condition logic for the input fields so that the decision table can evaluate input values or records from the object against the logic that you specify.
Required Editions
| Available in: Lightning Experience |
| Available in: Enterprise, Unlimited, and Developer Editions for clouds that have Business Rules Engine enabled |
To determine when a decision table provides outcomes, select one of these input field conditions.
| Condition | How it Works | Business Rules (Example) | Evaluated Values (Example) | Output (Example) |
|---|---|---|---|---|
| All conditions are met (AND) | The decision table evaluates the business rules against the values provided. If the evaluated values match the corresponding input fields, the decision table provides the output field values of the matched business rules as the outcomes. | Three business rules contain three input fields and one output field. Rule 1:
Rule 2:
Rule 3:
|
The decision table provides outcomes for each of the three rules. Order 1:
Order 2:
Order 3:
|
|
| Any condition is met (OR) | The decision table evaluates the business rules against the values provided. If any one of the evaluated values matches the corresponding input field, the decision table provides the output field values of the matched business rules as the outcomes. |
|
||
| Custom logic | The decision table evaluates the business rules against the values provided. Based on the custom logic, if the values match, the decision table provides the output field values of the matched business rules as the outcomes. You can use a
field’s sequence number only once in a custom logic. For example, the custom logic
|
Logic: (1 AND 2) OR 3
|

