- Hjem
- /
- Artikel
Manage global variables
Global variables are custom variables that you define from Webex Contact Center control hub and these are accessible throughout a flow. Flow developers can add global variables to the flow as required. For more information, see Global Variables in Flow Designer.
Overview
Global variables are specific to the Webex Contact Center voice channel. They collect one of the following types of data values:
-
Caller-entered data: Data that a customer enters using IVR during a call, such as an account number.
-
Agent-entered data: Data that an agent enters into the Interaction Control pane of the Desktop during an active call with a customer, such as a case number or action code.
You can create any number of global variables. However, you can enable only up to 100 global variables for reporting at a time.
By default, you can view only active global variables. To view inactive global variables, check the Show Inactive Global Variables check box.
-
Global variable values are visible to users who have access to historical records on the Management Portal. Never store secure data such as credit card numbers, personal identification numbers, or social security numbers using global variables.
-
You can't delete Global variables, but you can deactivate a global variable that isn’t in use in any flow. You can’t use an inactive global variable to store data.
System-defined variables
System-defined variables are the predefined global variables used by the Webex Contact Center.
You can edit the system-defined variables in the Provisioning module; but you can’t create or deactivate system-defined variables.
Webex Contact Center uses the following system-defined variables:
-
Global_FeedbackSurveyOptin: Indicates whether the customer chooses to participate in (opt-in) or not participate in (opt-out) a post call survey. The Variable Type is defined as String; while the default value is
uninitialized
, meaning there’s no initial value. -
Global_Language: Indicates the language that a customer uses in the flow. The Variable Type is defined as String; and the default value is
en-US
. For more information, see Webex Experience Management Language Support. -
Global_VoiceName: Indicates the output-recorded name used in the flow. The Variable Type is defined as String; while the default value is
Automatic
. When the value isAutomatic
, Google Dialogflow chooses the voice name for a given language.
Create a global variable
1 |
Sign in to Control Hub. | ||||||||||||
2 |
Navigate to Services > Contact Center. | ||||||||||||
3 |
From the Contact Center navigation pane, select Flows > Global Variables . | ||||||||||||
4 |
Click Create a new global variable and provide the name and description for the variable.
| ||||||||||||
5 |
Choose one of the following types from the Variable Type drop-down list and specify the variable value.
You can’t edit the variable type after the variable is created. | ||||||||||||
6 |
(Optional) Toggle Make Reportable on to display the variable in the Analyzer for reporting purposes. You can enable up to 100 global variables for reporting. | ||||||||||||
7 |
(Optional) In the Desktop settings option, toggle Make agent viewable on to display the variable on the Desktop along with the value entered as part of the flow. When you toggle Make agent viewable on, you can view and configure following options:
| ||||||||||||
8 |
Click Save. |
Edit a global variable
1 |
Sign in to Control Hub. |
2 |
Navigate to Services > Contact Center. |
3 |
From the Contact Center navigation pane, select Flows > Global Variables . |
4 |
Click the global variable that you want to edit.
|
5 |
Update the details and click Save. |
Activate or deactivate a global variable
1 |
Sign in to Control Hub. |
2 |
Navigate to Services > Contact Center. |
3 |
From the Contact Center navigation pane, select Flows > Global Variables . |
4 |
Click the global variable that you want to activate or deactivate. |
5 |
Toggle Active/Inactive to perform the desired action. |
6 |
Click Save to save the modified state else click Cancel to discard the changes. |