安 耿 [https://community.jboss.org/people/beliefer] created the discussion

"How to edit a decision table contains rule like "not (TreatResult(id==$eid))" 
?"

To view the discussion, visit: https://community.jboss.org/message/792254#792254

--------------------------------------------------------------
I have finished a rule as follows:

rule "Your First Rule"
    when
        ExpressItemTemp($eid :eid)
        not (TreatResult(id==$eid))
  $total : Double(doubleValue  >=138)  from accumulate ($eit: 
ExpressItemTemp(itemid in 
("7096760680","3096780174","2251556006","2252191048","2254989638","2251521962","12203694113","2252461508","2588839002","2254940542","2252775410","2252775398","2254081374","2251552580","2251509802"),eid
 == $eid, $rel : (itemprice*itemnum-discount)),sum( $rel ) )
    then
        System.out.println($eid+":"+$total);
        insert(new TreatResult($eid));    
end


but,how can I doing the same work with decision table?
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/792254#792254]

Start a new discussion in JBoss Tools at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to