Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions drools/lesson_3.md
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ rule "Numbers of CashFlow Line"
from collect( CashFlow( mvtDate >= $sDate && mvtDate <= $eDate,accountNo == $acc ) )

then
showResult.showText("Found "+$number+" more than 2 CashFlow Lines");
showResult.showText("Found "+$number+" CashFlow Lines");
end
```

Expand Down Expand Up @@ -489,7 +489,7 @@ Here is our test case :
## Accumulating

In the previous section, we collect data. There is an "from accumulate" that allows us to sum data in one command.
the "from collect" instruction takes 5 parameters :
The "from accumulate" instruction takes 5 parameters :
1\) a fact constraint expression
2\) an init condition
3\) the instruction when the rule applies to the fact constraint expression
Expand Down