You are here:
Validation Rules in Nested Bundles
Use validation rules within nested bundles to expand the scope of options Salesforce CPQ considers when evaluating quotes and products. (Salesforce CPQ Managed Package)
Required Editions
| Available in: Salesforce CPQ Spring ’16 and later. |
Validation rules can evaluate children, grandchildren, or parents of the option they initially target. Control this feature with three configuration rule fields.
- Parent Bundle Condition Level
- 1: Conditions evaluate the parent of the product option that the configuration rule targets and all children of that parent. Siblings of the parent product aren’t evaluated.
- None: Conditions evaluate children only. This is the default option.
- Child Bundle Condition Level
- 1: Conditions evaluate the product option’s children and grandchildren.
- None: Conditions evaluate children only. This is the default option.
- Child Bundle Action Level
- 1: Actions can select, deselect, enable, disable, show, or hide the children and the grandchildren of the option this configuration rule targets.
- None: Conditions evaluate children only. This is the default option.
| Grandparent Quantity | Parent Quantity | Child Quantity | Result |
|---|---|---|---|
| 2 | 2 | 2 | Validation Fails |
| 1 | 2 | 2 | Validation Passes |
| 2 | 2 | 1 | Validation Passes |
In the first case, the validation fails because the configuration rule considers the grandparent, parent, and child quantities, for a grand total of six. The second and third cases validate because the configuration rule considers the grandparent, parent, and child quantities for a grand total of five.
| Grandparent Quantity | Parent Quantity | Child Quantity | Result |
|---|---|---|---|
| 2 | 2 | 2 | Validation Passes |
| 2 | 2 | 4 | Validation Fails |
| 4 | 2 | 2 | Validation Passes |
In the first and third case, the validation passes because the configuration rule considers the parent and child quantities, for a grand total of four. The validation fails in the second case because the parent and child quantities add up to six.
| Grandparent Quantity | Parent Quantity | Child Quantity | Result |
|---|---|---|---|
| 2 | 2 | 2 | Validation Passes |
| 4 | 2 | 4 | Validation Fails |
| 2 | 2 | 4 | Validation Passes |
In the first and third case, the validation passes because the configuration rule considers the parent and child quantities, for a grand total of four. The validation fails in the second case because the parent and child quantities add up to six.
| Grandparent Quantity | Parent Quantity | Child Quantity | Result |
|---|---|---|---|
| 2 | 2 | 2 | Validation Passes |
| 4 | 2 | 4 | Validation Passes |
| 2 | 2 | 4 | Validation Passes |
| 2 | 6 | 2 | Validation Fails |
In the first three cases, the validation passes because the configuration rule considers only the parent quantity of 2. The validation fails in the fourth case because the parent quantity is six.

