Siebel Interactive Designer Administration Guide > Advanced Modeling >

Creating Javascript Conditional Statements


Create an OL_CONDITIONS Configuration table to evaluate the current input UI control selections in the application against javascript conditional statements. These statements are evaluated and, based on the results, a message can be presented to the user.

For information on how the OL_CONDITIONS Configuration table is evaluated, see The Configuration Matching Process.

To create an OL_CONDITIONS Configuration table

  1. Create a Configuration table.
  2. See Creating Configuration Tables for more information.

  3. Create an input column named TEST.
  4. Create an output column named RULE.
  5. In the TEST column, enter a JavaScript conditional statement that returns true or false.
  6. The conditional statement may refer to column values from Feature tables or Configuration tables using the same syntax used in cell functions.

  7. In the RULE column, enter the message that appears if the TEST expression returns true.
  8. Each row in the OL_CONDITIONS table is evaluated in order of SEQUENCE number, from smallest to greatest, against the current user-selected configuration.

    If all of the TEST expressions in the OL_CONDITIONS table return false, the engine considers the user-selected configuration valid and ends the configuration matching process. If a TEST expression returns true, the exception message defined in the associated RULE column appears in the application.


 Siebel Interactive Designer Administration Guide 
 Published: 18 April 2003