The update
token allows you to update objects in the working memory. When you click update
and expand the square brackets, the following code is displayed:
THEN
update [ refresh ] <enter a value>
The update
token is composed of the two subtokens given in Table 24.11:
Table 24.11 Subtokens for update
|
|
---|
[refresh]
| Keeps the rule in the agenda as long as the conditions are satisfied (the agenda is a container holding the instances of all the rules that are eligible to be fired). According to the refraction principle, without being refreshed, a rule that just fired is taken out of the agenda even if its conditions are still satisfied.
|
<enter a value>
| Insert a value. The value must be an expression that returns an object.
|
|