Jump to: navigation, search

Routing_Strategy

A set of decisions and instructions that are created in Interaction Routing Designer (IRD) and that tell Universal Routing Server (URS) how to direct incoming customer interactions under different conditions. Can be contained in an Interaction Workflow. Can use subroutines, routing rules, business rules, attributes, interaction data, statistics, schedules, lists, and macros. Can apply logic (for example, segmentation, conditional branching, and so on). Can deliver the interaction to an agent or another target type, such as an ACD queue, agent group, campaign group, destination label (DN), place, place group, queue, group, routing point, skill group, or variable.



Glossary

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Routing Strategies for Sensitive Data

For channels other than Chat, you must use Composer or Interaction Routing Designer (see the Universal Routing documentation) to create strategies (or modify existing ones) that include an External Service object that calls one of the following methods:

  • IxnByGroup—This method specifies an interaction in the UCS database and the group of rules to apply to it. Its parameters are listed below.
  • DataByRegex—This method extracts the text to be screened from the interaction as it passes through the strategy and the regular expression to apply to the text. Use it when you do not want to (or cannot) retrieve the interaction from the UCS database. In addition to the External Service object, strategies using this method must include some strategy object that extracts content from the user data and puts it in a variable which it passes to the External Service object. The parameters of this method are listed below.

Sample Strategy

The following strategy illustrates the use of both methods on an email interaction:

Strategy Using IxnByGroup and DataByRegEx
  1. In the first External Service object, IxnByGroup looks at the interaction in the UCS database and scans its entire content: Subject, Header, Body. It also updates the content of the interaction as stored in UCS, replacing any sensitive data that it finds with strings of * (asterisks). However, IxnByGroup does not affect the interaction's User Data, which contains attributes, such as Subject and various headers, that might also contain sensitive data. For that we must use DataByRegex.
  2. Two Function objects retrieve the content of the Subject and Thread-Topic.
  3. A Multi-Assign object creates a variable CreditCardRegEx and assigns it a value consisting of a regular expression that finds credit card numbers.
  4. In the second External Service object, DataByRegex scans the content of the Subject field.
  5. External Service, General Tab (click to enlarge)
    External Service, Result Tab (click to enlarge)
  6. The following Function object updates the interaction (in the Interaction Server database), substituting * for the found data.
  7. The third External Service object does the same for the Thread-Topic field.
  8. When the interaction is terminated, the User Data attributes are also updated in the UCS database.

IxnByGroup Parameters

Parameter Type Description Mandatory? Default Value
Group String ID of the rule group to be applied. Either Group or GroupName may be specified, but not both.

If both are specified an Error is generated. If neither is specified, the predefined Email group is used.

N No default value
GroupName String Name of the rule group to be applied. Either Group or GroupName may be specified, but not both.

If both are specified an Error is generated. If neither is specified, the predefined Email group is used.

N Email
IxnAccessSpec List Specifies which parts of interaction stored in UCS should be processed, and other parameters needed for Ixn. Ucs Access Provider. This string is passed to the Provider and is used by the Provider exclusively. The string has the following form: key:value=<part>:<operation>, where

part can be Subject, Header, Text (body), StructuredText, Content (MIME content), or _EmailAll (all fields)
operation can be check (the modified part of the interaction is not written back to UCS) or update (the modified part of the interaction is written back to UCS).

N key:value=_AllEmail:update
IxnList String List of IDs of interactions stored in UCS, separated by the pipe character ( | ). If absent, the Interaction ID is taken from user data. N No default value
ProcedureOpt String Sets the output type of the procedure:
  • final—only final processed data is placed in the result
  • trace—full output with results of all intermediate procedure steps, including positions, is placed in the result.
N final

DataByRegex Parameters

Parameter Type Description Mandatory? Default Value
DataList List Specifies the data portions to process: a list of key-value pairs, where the key is the reference ID of this data portion and the value is a string specifying the data portion to process. Y No default value
Procedure List of K-V pairs Describes find and replace procedure by direct explicit specifications of its steps.
  • Key (String)—Reference ID of this step of the procedure
  • Value: (List of key-value pairs)—Specification of this step of the procedure, as listed in "Values of Procedure" below.
Y No default value
ProcedureOpt String Sets the output type of the procedure:
  • final—only final processed data is placed in the result
  • trace—full output with results of all intermediate procedure steps, including positions, is placed in the result.
N final


Values of Procedure
Key Type Description Default Value
TheOrder (optional) Integer Specifies the order of this part of the procedure. If Procedure contains only one step then TheOrder can be omitted. Otherwise TheOrder must be specified for each step of the procedure, and each step must have a different value. No default value
RegEx (mandatory) String Regular expression used to process the data No default value
ReplacementPattern (optional) String or K-V list Replacement pattern applied in data processing.
Key Type Description Default Value
"name" String Name of the replacement pattern Empty string
"type" String Type of replacement pattern:
  • "standard"—POSIX type, with named and numbered capturing groups
  • "genesys"—as specified in the "spec" attribute
"genesys"
"spec" String Specification of the replacement pattern if "type" = "genesys":
  • "none"—Replace nothing
  • "replace-all"—Replace all characters in the found text
  • "replace-digits-<N>"—Replace only digits in the found text, leaving the <N> rightmost digits, where <N> is a non-negative integer.
"replace-digits-0"
"repchar" String Specifies a character used to replace all characters in the found text * (asterisk)
See embedded table to left

Response

The response to the above methods is Event3rdServerResponse, which has the following parameters:

Key Type Description Default Value
OutDataList List of lists Key is the reference ID of the original data portion: the interaction ID or the reference ID of the data portion in the DataList parameter of the request.

The value is as follows

Key Type Description Default Value
"final" List of key-value pairs The key is "outdata" and the value is a string consisting of the final result of processing this data portion. No default value
Reference ID of a step of the procedure (the key in the request's Procedure key-value list).

These data elements are created only when ProcedureOpt = trace.

List of key-value pairs
Key Value
"outdata" String: the result of processing this step
"posfound" List: positions of text found in this processing step; see description below.
"poschanged" List: positions of texts inserted in place of found text; see description below.
No default value
No default value


Values of "posfound" and "poschanged"
Key Type Value
"start" String Starting position. The first character in a string is numbered 0.
"end" String Ending position.
This page was last edited on October 17, 2018, at 18:46.
Comments or questions about this documentation? Contact us for support!