NAMEDVARIABLE Data Format
NAMEDVARIABLE data and NamedArray data are specially formatted floating data fields. There can be an arbitrary number of NamedVariable and NamedArray fields in a message, subject to a combined total limit of 2000 bytes.
The NAMEDVARIABLE data type is a call context variable that has been defined in the Unified CCX Script Editor. This variable length data type can appear in the floating part of a message and has the format defined in the following table.
Subfield |
Value |
Data Type |
Maximum size |
---|---|---|---|
FieldDataID |
NAMED_VARIABLE (= 82). This is the numeric floating field ID that indicates the data that follows is a named call-context variable. |
SHORT (Version 18 and later) |
2 |
UCHAR (Version 10 to 17) |
1 | ||
FieldLength |
The total length of the VariableName and VariableValue fields, including the null-termination bytes. The value of this field may range from 3 to 251. |
UCHAR |
1 |
VariableName |
The null-terminated defined name of the variable. |
STRING |
33 |
VariableValue |
The null-terminated value of the variable. |
STRING |
211 |
For information on call context variables, see Cisco Unified Contact Center Express Getting Started with Scripts and Cisco Unified Contact Center Express Editor Step Reference Guide at:
https://developer.cisco.com/docs/contact-center-express/#scripting-and-development-guide.