Rule Builder > Technical Rule Language Reference > Tokens for the Action Part of a Rule > update

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
    Subtoken 
    Function 
    [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. 


    Customer Support | Copyright © 1987-2004 ILOG S.A. All rights reserved. Legal terms. PREVIOUS   NEXT