Cisco Cisco Unified Contact Center Enterprise 9.0(1) Guia Do Utilizador

Página de 268
Logical Operators
The Logical Operators in the following table take two operands. Logical operators examine the values of
different logical expressions:
Comments/Examples
Meaning
Operator
The expression is true if both of the
operands are true. If either is false,
the overall expression is false. The
following is true if the skill group
has at least one agent logged in and
no agents are currently available.
And
&&
The expression is true if either or
both of the operands is true. If both
are false, the overall expression is
false. The following is true if the
skill group has at least 5 agents
logged in or no agents are currently
available. However, the expression
is false if less than five agents are
logged in and there is an agent
available.
Or
||
The equality (==) and relational (>) operators are evaluated before the logical operators (&& and ||).
Note
Bitwise Operators
The Bitwise Operators in the following table take two operands.
Comments/Examples
Meaning
Operator
The & Bitwise Operator turns
specific bits in a value on or off.
The following expression turns off
the six low-order bits of
AvgTalkTimeTo5.
Note the use of the complement
operator (~) with the constant. This
is equivalent to rounding the value
down to the next multiple of 64.
And
&
Scripting and Media Routing Guide Cisco Unified ICM/Contact Center Enterprise & Hosted Release 9.0(1)    
143
Use of Formulas
Logical Operators