Category Archives: drools rule keywords

Drools :: Rule Keywords and Attributes

Keywords insert keyword rule “Set Order cost: Low price” when $i: Order(cost < 50.00) then System.out.println(“rule: ‘Set Order cost: Low price’; insert IsLowCostOrder”); insert(new IsLowCostOrder($i)); end new IsLowCostOrder($i) is the data available to the working memory using the insert keyword. … Continue reading

Posted in drools rule attributes, drools rule keywords | Tagged , | Leave a comment