260 Contact Center ManagerAdvanced script commands Standard 8.04WHERE-EQUALSUse the WHERE-EQUALS command to test for a condition that can have morethan one result. You can use this command, for example, to replace several IF-THEN-ELSE commands that check for the same condition. The parametervalue_expr (the condition for which you are testing) is evaluated first, and thendifferent statements are executed, depending on the value of the parameter.Possible results include advancing to another command, running another script,or terminating the execution of the script. Use the DEFAULT clause, which isoptional, to specify a command to use when none of the results are possible.After finishing the statements in the applicable VALUE clause, the script leavesthe WHERE-EQUALS command and continues executing the next commandafter the END WHERE command (unless the statements transfer the call toanother script).Script syntaxWHERE EQUALSVALUE : VALUE : < statements>VALUE : DEFAULT: END WHEREParametersEnter information for the following parameters: The expression that you want the script to evaluate. You canreplace this parameter with an item, an intrinsic (such as CDN, DNIS, orCLID), or a formula. If you use a variable in this parameter, it must be oftype Item.