SAP Knowledge Base Article - Preview

2422641 - How to enable successful save/publish of DroolsRule/PromotionRule after modifying the code attribute

Symptom

If user changes the code of an already published Promotion Rule and tries to republish it, or user changes directly the code of an active Drools Rule and try to save the changes. Though the code is matching the @rulecode element in the rule content of DroolsRule, system throws an error like:

 

code11.png

code22.png


Read more...

Environment

SAP Hybris Commerce 6 and above

Product

SAP Hybris Commerce 6.0 ; SAP Hybris Commerce 6.1 ; SAP Hybris Commerce 6.2 ; SAP Hybris Commerce 6.3

Keywords

Promotion, drools, code, save, publish, exception, @ruleCode, newpromotionsengine , KBA , CEC-COM-CPS , SAP Commerce , 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.