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

The modify token allows you to modify objects in the working memory. When you click modify and expand the square brackets, the following code is displayed:

 THEN
  •  modify [ refresh ] <enter a value>
    
  •  [so that]
    
  • The token modify is composed of several subtokens given in Table 24.12:

    Table 24.12   Subtokens for modify
    Subtoken 
    Function 
    [refresh]  Keeps the rule in the agenda as long as the conditions are satisfied. 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. 
    [so that]  Assign values to object attributes of the selected class.  


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