1

我使用了来自 kie-workbench 的指导决策表。这是我写的规则

rule "Row 1 Coupons"
dialect "mvel"
when
    f1 : CartDetails( couponCode == "OS1000" , startDate after "12-Jan-2017" , expiryDate before "31-Jul-2017" , minPurchaseAmt >= 5000.0 , excludeProductCodes excludes "GC669010,GC669011,GC669012,GC669013,GC669014,GC669015,GC669016,GC669017,GC669018,GC669019,GC669001,GC669002,GC669003,GC669004,GC669005,GC669006,GC669007,GC669008,GC669009,AC669001,GC669047,GC669052,RN669001,ER855036" , newUser == true )
then
    f1.setDiscountAmt( 1000.0 );
    f1.setDiscountPercentage( 0.0 );end

在规则失败的情况下,我想知道是哪个特定条件导致该规则失败。

4

0 回答 0