Now, configure your product validation (or price) rules:
- For every product rule you want to make bypassable, create a summary variable (for quote-scoped rules) that counts instances on quote lines where the
BypassRules__ccontains the bypass marker (e.g.,DiscountBypass). - Add an error condition that only triggers if the summary variable’s value is zero—which means no bypass has been set for this rule.
This approach ensures the rule only runs if the quote doesn’t have an approved bypass for that specific validation condition.
Example Summary Variable:
- Name:
DiscountBypass - Criteria: Count of Quote Lines where
BypassRules__ccontainsDiscountBypass
Error Condition:
– Fires only when DiscountBypass count is 0