Category:Drools: Difference between revisions

From Training Material
Jump to navigation Jump to search
 
mNo edit summary
 
Line 1: Line 1:
{{#catlabel: pages | | }}
{{#catlabel: nodivide}}
{{Cat|JBoss}}
{{Cat|JBoss}}
Drools Training Material
Drools Training Material

Latest revision as of 15:33, 27 August 2025

Drools Training Material



TODO:

  • if statement in condition (when) part (else statement)
  • fireUntilHalt()
  • colllSet collList (accumulate function)
  • CPE - more examples and exercies
  • Debugging - exercises
  • Planner (separate course???)
rule "apply 10% discount to all items over US$ 100,00 in an order"
when
$order : Order()
$item : OrderItem( value > 100 ) from $order.items
then
// apply discount to $item
end