Rule Builder > Technical Rule Language Reference > Tokens for the Condition Part of a Rule > wait for a

The token wait for a inserts a "wait condition", which allows you to test if conditions become valid or remain true during a designated waiting period. This token is not proposed for the first condition. When you click this token and expand the square brackets, the following code is displayed:

 WHEN
  •  wait for a [ logical ] watchdog [ called <enter a variable> ]
    
  • [ during <enter a value> ]

    The token wait for a is composed of the subtokens given in Table 24.6:

    Table 24.6   Subtokens for wait for a
    Subtoken 
    Function 
    [logical]  Declare that the previously realized conditions must remain true for the wait statement to become true. 
    [called <enter a variable>]  Declare the timeout variable. 
    [during <enter a value>]  Insert a during or until expression. 

    images/blueArrow_icon.gif indicates that the wait statement may contain any condition except another wait statement.

    See Also

    Subtokens for Condition Tokens | Tokens for the Action Part of a Rule | Subtokens for Action Tokens | Using Generic and Shortcut Menus in TRL


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