Say I have a a product "alto 4" that is not a bundle but it has 5 product options , we need the user to select any one optional product before saving the quote line editor .. how will i throw a product validation rule for this ?
1 resposta
Hi @Keerthana .
- In Salesforce CPQ you handle this with a Product Validation Rule (not a standard validation rule).
- Go to Product Validation Rules in CPQ.
- Create a new rule:
- Active = true
- Level = Quote
- Error Condition checks: if product = Alto 4 AND no related option is selected.
- Error Message: “Please select at least one option for Alto 4.”
- Add a Validation Condition using a Summary Variable (count options > 0).
This way, when user saves in QLE, if “Alto 4” is present without an option, CPQ throws the error