# Genesys Quality Management Suite 8.1.520 : Creating a Recording Rule with External Data

Created and last modified by

Navigate to Recorded calls.

Select a record from a number that contains the desired data key and click the information icon . The Call description dialog opens and displays the available call data keys and values.

Copy the External Data Key required from the list, in this example, GROUP_ID. The Call description window is in a separate pop up, so it can be kept open for the following step.

Return to the top of the main window, navigate to Recording rules and select the group to which the rule applies, from the groups on the left hand side, in this example, Group A.

1. Select External Data in the Rule type: drop-down list.
2. In the Mask: field:
   - Paste the key into the mask then type a blank space after the key, to separate the Key and Value.
   - Go back to the Call details pop up and copy the External Data Value, then paste it after the blank space in the Mask: field, or type a value (wild cards are valid). Genesys Quality Management Suite supports alphanumeric characters for extensions, DNs or terminals.
3. Click Insert new rule.
4. Click Apply changes.

The new recording rule using external data is now active in Call Recording.
To test the rule, make a call from a group that should contain the data, and check the Recorded calls tab for the recorded call.

Please note if there are two recording rules using external data in one group and the first external data does not exist, the second one will not be evaluated. It get evaluated in the moment when the first external data exists and does not match.

## Using Contact Center Related Data for Recording Rules

Recording rules can be based on external data sources integrated with Call Recording. The following table contains an example of Cisco UCCE external data used for defining recording rules:

External Data Key | Sample Value
--- | ---
CCE_CFG_LoginName | Doe John
CCE_AgentID | 8100
CCE_SkillGroupID | 5001
CCE_ANI | 8001
CCE_CFG_FullName | John Doe
CCE_SkillGroupNAME | SALES_SG