Using String-Value Database Items - Avaya Call Management System Custom Reports

Table of Contents

Advertisement

This clause finds all rows where the EXTENSION value is four digits and has 444 as the
first three characters. Thus, 4441, 4440, and 4449 would match. However, 444 would not
match.
Select rows where: LOGID matches '?000'
This clause finds all rows where the LOGID value is four digits, begins with any number,
and ends with "000." Thus, 4000, 5000, and 9000 would match. 000 would not match.
You can use not in a "matches" clause to exclude rows. For example, you may want to
exclude a range of login IDs from your report with a clause like the following:
Select rows where: LOGID not matches '2*'
This clause finds all login IDs except those starting with "2." If you have 4-digit login IDs,
login IDs from 2000 to 2999 would be excluded.

Using string-value database items

String-value database items contain numerical data that the Dictionary subsystem
translates to display current states or state changes. For example, a report field using the
string-value database item WORKMODE displays AVAIL, ACD, ACW, and so on,
depending on what state the particular agent is currently in. However, tables store states
as numbers, not strings. When you run a report, CMS simply substitutes the character
strings for the numerical values. This process is identical to the substitution of names for
split numbers, trunk group numbers, vectors, and so on.
If you want to use string-value database items in a "where" clause, you must specify
numerical values, not string values.
For example, if you want a current real-time agent report that lists data only for agents on
extension-in or extension-out calls, you can select the Current Interval Agent table and
enter a statement as follows:
Select rows where: SPLIT = $splitvar and WORKMODE > 10 and WORKMODE < 60
This statement finds rows for a user-specified split where the agent state is one of the
following:
ACWIN (numerical value of 20)
ACWOUT (numerical value of 30)
AUXIN (numerical value of 40)
AUXOUT (numerical value of 50)
See Avaya CMS R3V11 Database Items and Calculations, 585-780-702, for a complete list
of row search values for string-value database items.
Alternative row search conditions
Issue 3.0 May 2002
157

Advertisement

Table of Contents
loading

Table of Contents