-
Bug
-
Resolution: Duplicate
-
Critical
-
None
-
7.74.1.Final, 8.44.0.Final
-
None
-
-
NEW
-
NEW
-
---
-
---
The test cases come from our business scenarios,
More descriptions about the DRL file in case:
In digital commerce, we implement one rule as followings business purpose :
If customers buy some products in cart, we will give the qualified products some discount and consume the left-quantity of the qualified products until the left-quantity to be 0.
1. We allow the rule to be executed more than one time, so the "no-loop" to be false.
2. For the when parts of the Drl, we add the check to test whether the products (that has left-quantity>0) exists in cart.
3.Also we add the "filter" parts in accumulate to filter the qualified(belong the "575" category) products , and the qualified products will be passed into action part of the DRL, and qualified products can be consumed by reducing the left-quantity and generate discount actions as code shows.
- clones
-
DROOLS-7628 PhreakAccumulateNode will trigger "accctx" NullPointerException when fireAll Rules for some cases
- Reopened