Symptom
For reference, please review the <* IfAllAttributes() *> tag section in the SAP CPQ Condition Tags Documentation.
- According to the documentation cited above, the <* IfAllAttributes() *> tag takes a comma-separated list of attribute names as its argument and can be used within Formula Rules to denote when all the attributes named in the tag argument have been selected.
- But only the first attribute name/value in the tag argument is considered for in the selection evaluation.
- The expected behavior is that all attribute names/values will be considered in the overall selection evaluation.
Environment
SAP SALES CLOUD CPQ
Reproducing the Issue
- Configure a product, for example "bmw 3 series" with Product rules as shown below:
- Select Color, and the attribute "Testing for product as attribute" is immediately visible
- Reset and select Fuel attribute first, and observe that the attribute "Testing for product as attribute" is not visible until we choose Color attribute
- The rule in this product has Color as the first attribute.
"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."
Cause
Bug in application.
Resolution
- The issue with the tag's behaviour has been confirmed as a bug.
- Meanwhile until the fix is done, the below workaround can be used for the formula:
[NOT]([AND](<* AttSel(Color) *>,<* AttSel(Fuel) *>)) - The issue is set to be resolved in the CPQ-2411 release, tentatively.
See Also
3487591 - Known Issues in SAP CPQ
Keywords
<* IfAllAttributes() *> tag, condition tags, attributes, values, configurator, Formula Rules , KBA , CEC-SAL-CPQ , Sales Cloud CPQ , Problem
Product
SAP CPQ all versions