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

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

 THEN
  •  insert [ logical ] [ event [ <time> ] ] <select a class> [ ( <enter a value> ) ]
    
  •  [so that]
    
  • The token insert is composed of the subtokens given in Table 24.10:

    Table 24.10   Subtokens for insert
    Subtoken 
    Function 
    [logical]  Declare a logical object. 
    [event]  Declare an event object. 
    <select a class>  Declare the name of a class. 
    [(<enter a value>)]  Assign values to a constructor. Each argument must be separated by a comma. Refer to <enter a value>
    [so that]  Assign values to class attributes. 


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