Updating object states in the rule engine
When rules are run with the RetePlus execution mode,
you can control whether the rule engine is notified of changes in
the state of objects in the working memory that result from rule execution.
Notifying the rule engine of an object state change causes the rules
to be matched against the new state, and can result in new rule instances
being added to the agenda.
Note: Do not use
update in rulesets that do not use the working memory. If an
updated object is part of a collection, you might get an unexpected behavior notification and a
ConcurrentModificationException exception might be thrown.