Symptom
If one published promotion rule is associated with multiple versions of drools rules that are in Active=True and CurrentVersion=True status, the following unexpected symptoms will occur:
1. After undeploying the promotion rule and making its status changed to "Inactive":
- Issue: When attempting to add a product that qualifies for this promotion, there is no response from the storefront and the product cannot be added to the cart.
- Expected Behavior: After clicking "add to cart," the product should be successfully added to the cart without applying the promotion rule.
2. When the promotion rule is in "Published" status, but the Scheduled End Date is in the past:
- Issue: The promotion rule is still applied after adding a product that qualifies for this promotion into the cart.
- Expected Behavior: The promotion rule should not be applied to the cart as the Scheduled End Date has passed.
***Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.***
Read more...
Environment
- All the versions of SAP Commerce Cloud
Product
Keywords
promotion, drools rule, currentversion, promotion engine, undeploy, discount , KBA , CEC-SCC-COM-PRO-RE , Rule Engine , Problem
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.