Skip to main content

#Option Constraints토론 중인 항목 2개

I have require rules that live in a constraint model that automatically adds different products based on the type of bundle that is added.

I needed to add a new product to the rule so that we can add it to the rule. However when we added a new item via "New Item" in the visual editor: 

 

Error when adding a bundle to quote after adding new item to product index of constraint model

 

And tried to add a bundle to the quote afterwards, the quote lines were not added and instead threw the following error: 

 

Screenshot 2026-09-22 at 2.24.43 PM.png

 

The item was added as a standalone product, and not as part of a bundle.

Tried commenting out the product in the CML editor which deleted the product from the model but my suspicion is that it has created other definitions in the backend that is now tripping up the pricing procedure. 

 

My questions would be

  1. What is the correct way to add a new product to the index if the product was not already showing?
  2. Has anyone ever into this issue before?

#Revenue Cloud  #Option Constraints @* Salesforce Revenue Cloud *

답변 1개
  1. 9월 28일 오전 2:13

    Check ExpressionSetConstraintObj for any reference. CML is using this object behind the scene. 

    Check your pricing procedure element, probably, you need to add a null check.

0/9000

I have a product rule setup with option constraints so that if you select Product option: Hazardous area, then it will disable/remove non-hazardous options. The rule is working, but I can't get get it to fire on selection, it only works on Save. Am I missing something for the enable and disable/remove actions to work on selection?

댓글 2개
0/9000