SAP Knowledge Base Article - Preview

2933680 - How to add cartRAO variable back in generated drools query

Symptom

After the patch release of the ECP-4419. The CartRao variable from the generated drools query is removed. Please check the below difference:

Before:

query rule_d52956b7801e4285a1ec45634c259a5a_query(CartRAO $v1, RuleEngineResultRAO $v2, WebsiteGroupRAO $v3)

(
(
$v1 := CartRAO(currencyIsoCode == "USD", total >= new BigDecimal("1"))
)
)
end

After:

query rule_b3bc99cad4ff4dc18e51e6de296a91bc_query(CartRAO $v1, RuleEngineResultRAO $v2, WebsiteGroupRAO $v3)
end

It maybe will influence your customization if you used the CartRao variable for your customization.

But the influence depends on your customization code. The OOTB is working fine without the CartRao variable in drools query.


Read more...

Environment

  • SAP Hybris Commerce Suite 6.7
  • SAP Hybris Commerce Suite 1808
  • SAP Hybris Commerce Suite 1811
  • SAP Hybris Commerce Suite 1905
  • SAP Hybris Commerce Suite 2005

Product

SAP Commerce 1811 ; SAP Commerce 1905 ; SAP Commerce 2005 ; SAP Hybris Commerce 1808 ; SAP Hybris Commerce 6.7

Keywords

drools,promotion,carRao,rule content , KBA , CEC-SCC-COM-PRO-RE , Rule Engine , How To

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.