Bookshelf Home | Contents | Index | Search | PDF |
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
- Create a Configuration table.
See Creating Configuration Tables for more information.
- Create an input column named TEST.
- Create an output column named RULE.
- In the TEST column, enter a JavaScript conditional statement that returns true or false.
The conditional statement may refer to column values from Feature tables or Configuration tables using the same syntax used in cell functions.
- In the RULE column, enter the message that appears if the TEST expression returns true.
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.
Bookshelf Home | Contents | Index | Search | PDF |
Siebel Interactive Designer Administration Guide Published: 18 April 2003 |