If-Then-End If - Nortel Meridian Meridian 1 Scripting Manual

Contact center manager
Hide thumbs Also See for Meridian Meridian 1:
Table of Contents

Advertisement

Basic script commands

IF-THEN-END IF

Use the IF-THEN-END IF command in conditional situations. If the specified
condition is met, the THEN statements are executed. Otherwise, the script skips
to the next command.
An IF-THEN-END IF command can have multiple statements between THEN
and END IF.
An IF command can appear within the THEN or ELSE clause of another IF
command, and each IF must have exactly one matching END IF command.
Script syntax
IF
<logical_condition>
Parameters
Enter information for the following parameters:
<logical_condition>
<statements>
met.
Example
In this example, calls whose CLID is included in the vip_list variable receive
special treatment, including a recorded announcement, and are queued to the
preferred customer skillset with high priority.
IF (CLID = vip_list_gv) THEN
GIVE RAN special_callers_ran_gv
QUEUE TO SKILLSET preferred_cust_sk WITH PRIORITY 1
WAIT 2
GIVE MUSIC classical_music_gv
END IF
200
THEN
<statements>
The condition for which you want the script to test.
The action that you want the script to take if the condition is
END IF
Contact Center Manager
Standard 8.04

Advertisement

Table of Contents
loading

Table of Contents