<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://all.docs.genesys.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Vivian</id>
	<title>Genesys Documentation - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://all.docs.genesys.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Vivian"/>
	<link rel="alternate" type="text/html" href="https://all.docs.genesys.com/Special:Contributions/Vivian"/>
	<updated>2026-04-30T06:54:15Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.31.1</generator>
	<entry>
		<id>https://all.docs.genesys.com/index.php?title=PE-GPR/9.0.0/Deployment/cfgSubroutines&amp;diff=69750</id>
		<title>PE-GPR/9.0.0/Deployment/cfgSubroutines</title>
		<link rel="alternate" type="text/html" href="https://all.docs.genesys.com/index.php?title=PE-GPR/9.0.0/Deployment/cfgSubroutines&amp;diff=69750"/>
		<updated>2020-10-29T15:11:13Z</updated>

		<summary type="html">&lt;p&gt;Vivian: Published&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Article&lt;br /&gt;
|Standalone=No&lt;br /&gt;
|DisplayName=Deploy the URS Strategy Subroutines&lt;br /&gt;
|TocName=Deploy the URS Strategy Subroutines&lt;br /&gt;
|Context=Genesys Predictive Routing (GPR) provides subroutines components that are integrated with your Genesys Routing solution. The subroutines are placed within an existing strategy, where they add agent scoring and best-match functionality that enables you to fine-tune the routing of a specific interaction to the agent who can best handle it, based on the KPIs you want to optimize.&lt;br /&gt;
|ComingSoon=No&lt;br /&gt;
|Platform=GenesysEngage-onpremises&lt;br /&gt;
|Section={{Section&lt;br /&gt;
|sectionHeading=About the URS Strategy Subroutines component&lt;br /&gt;
|anchor=about&lt;br /&gt;
|alignment=Vertical&lt;br /&gt;
|structuredtext=This topic explains how to use the preconfigured strategy subroutines with Interaction Routing Designer (IRD) and Universal Routing Server (URS). &lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' The information in this topic applies to environments running GPR URS Strategy Subroutines 9.0.016.00 or later, Universal Routing Server (URS) 8.1.400.60 or later, and Interaction Routing Designer 8.1.400.39 or later. If you are running older versions of these components, see [https://docs.genesys.com/Documentation/GPM/9.0.0/oneguide/cfgSubroutines Deploy the URS Strategy Subroutines] in the previous documentation set. &lt;br /&gt;
&lt;br /&gt;
This topic includes the following information:&lt;br /&gt;
&lt;br /&gt;
*{{Link-SomewhereInThisManual|topic=cfgSubroutines|anchor=irdSubsList|display text=List of subroutines and other files included in the IP}}, with brief explanations of what they do.&lt;br /&gt;
*{{Link-SomewhereInThisManual|topic=cfgSubroutines|anchor=URS|display text=Deployment procedures}}.&lt;br /&gt;
*See {{Link-SomewhereInThisManual|topic=ixnFlows|anchor=top|display text=Routing Scenarios Using GPR}} for a discussion of how the subroutines handle agent-interactions matching in various scenarios.&lt;br /&gt;
*For a description of the Designer routing block for Predictive Routing and how to configure it, see [https://all.docs.genesys.com/PEC-ROU/Current/Designer/PredictiveRouting Predictive Routing Block].&lt;br /&gt;
{{NoteFormat|If you would like to evaluate Genesys Predictive Routing for use with schedule-based routing (using Genesys Workforce Management), service-level routing, or business-objective routing, contact Genesys Professional Services for a review of your routing environment.}}The following is a high-level overview of the steps required to deploy the URS Strategy Subroutines:&lt;br /&gt;
&lt;br /&gt;
#{{Link-SomewhereInThisManual|topic=cfgSubroutines|anchor=cfgURS|display text=Configure URS to support Predictive Routing}}.&lt;br /&gt;
#Import the subroutines.&lt;br /&gt;
#Review the {{Link-SomewhereInThisManual|topic=cfgSubroutines|anchor=irdSubsList|display text=list of subroutines and other files included in the IP}}, with brief explanations of what they do.&lt;br /&gt;
#Define the entry points in your IRD strategy for the appropriate subroutines.&lt;br /&gt;
#Set appropriate values for the {{Link-SomewhereInThisManual|topic=cfgSubroutines|anchor=URSstratSubsCfgOpts|display text=strategy subroutine configuration options}}, which are located in the Predictive_Route_DataCfg &amp;lt;tt&amp;gt;Transaction List&amp;lt;/tt&amp;gt; object.&lt;br /&gt;
#Configure the parameters for the subroutines used in your environment.&lt;br /&gt;
#Test that the subroutines are correctly directing interactions to agents.&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' Genesys does not support custom subroutines for Predictive Routing in a hybrid environment.&lt;br /&gt;
|Status=No&lt;br /&gt;
}}{{Section&lt;br /&gt;
|sectionHeading=Install the subroutines&lt;br /&gt;
|anchor=install&lt;br /&gt;
|alignment=Vertical&lt;br /&gt;
|structuredtext=To download and import the GPR Strategy Subroutines into your routing environment, perform the following steps:&lt;br /&gt;
&lt;br /&gt;
#Copy the installation package to the host where Interaction Routing Designer (IRD) is installed.&lt;br /&gt;
#Open a command prompt and navigate to the folder where you put the installation package folder.&lt;br /&gt;
#Run the &amp;lt;tt&amp;gt;install.bat&amp;lt;/tt&amp;gt; command. This command starts the import script, which prompts you for the following input parameters:&lt;br /&gt;
#*Full path of the IRD installation directory.&lt;br /&gt;
#*Configuration Server host name.&lt;br /&gt;
#*Configuration Server port number.&lt;br /&gt;
#*User name to connect to Configuration Server. This username must have WRITE access to Configuration Server.&lt;br /&gt;
#*Password to connect to Configuration Server.&lt;br /&gt;
#*IRD &amp;lt;tt&amp;gt;Application&amp;lt;/tt&amp;gt; object name.&lt;br /&gt;
#:After you enter the required parameters, the script imports all the subroutines, statistics, macros, and the &amp;lt;tt&amp;gt;Transaction List&amp;lt;/tt&amp;gt; object into Configuration Server. The result of the import process is generated in the '''/subroutines/ImportResult''' folder.&lt;br /&gt;
#Open IRD and verify that the GPR Strategy Subroutines are present. The correct input and output parameters are specified by default.&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' When you select a subroutine to view its properties, the Location file property is empty. If you try to open one of the GPR subroutines, an error message appears stating that the RBN file is not accessible (as shown in the image below). ''This is normal expected behavior''. It means that the import was successful and you can now invoke the GPR subroutines from the routing strategy with the required inputs.&lt;br /&gt;
&lt;br /&gt;
[[File:GPRSubsLocationMessage.png|left|800 px]]&lt;br /&gt;
|Status=No&lt;br /&gt;
}}{{Section&lt;br /&gt;
|sectionHeading=What is included in the installation package&lt;br /&gt;
|anchor=irdSubsList&lt;br /&gt;
|alignment=Vertical&lt;br /&gt;
|structuredtext=The IP for the URS Strategy Subroutines component contains the following files and folders: &lt;br /&gt;
&lt;br /&gt;
*'''install.bat''' - A helper script to import the subroutines into your environment.&lt;br /&gt;
*The '''subroutines''' folder, which contains the following ZCF subroutines files:&lt;br /&gt;
**'''ActivatePredictiveRouting_v3.zcf''' - Called from a routing strategy when the conditions you specify are met. This subroutine automatically calls additional subroutines that score agents, rank the scored agents, and evaluate whether there is an agent available to handle the interaction based on agent score. Referred to just as ''ActivatePredictiveRouting'' in the remainder of this topic.&lt;br /&gt;
**'''GetActionFilters.zcf''' - GPR in a hybrid environment supports filtering performed by URS only. You must set the {{ExternalOptionsLink|link=Options:Predictive_Route_DataCfg:default-predictor:use-action-filters}} option to '''false'''. In this configuration, GPR identifies the list of agents matching the target skill group along with the configured login status expression. This information is also reported in the action filters of the scoring request.&lt;br /&gt;
**'''GetScoringAuthToken.zcf''' - Called from the ActivatePredictiveRouting subroutine to authenticate with the GPR Core Services Platform.&lt;br /&gt;
**'''GPRIxnCompleted.zcf''' - Computes the values for the GPR KVPs based on the selected agent scores and updates the URS global map.&lt;br /&gt;
**'''isAgentScoreGood.zcf''' - URS calls this subroutine to suppress routing to an agent who is in ready state if this agent does not provide an acceptable match for the interaction. You can use this subroutine in conjunction with relaxation thresholds to target better-matched agents preferentially, expanding the pool of agents if the best-matched agents are unavailable.&lt;br /&gt;
**'''SetIdealAndReadyCondition.zcf''' - Called from ActivatePredictiveRouting subroutine. This is a wrapper subroutine around scheduling the calls to subroutines such as ScoreIdealAgent and isAgentScoreGood, which are executed outside the main interaction processing flow. Implements the GPR operation modes controlled by the {{ExternalOptionsLink|link=Options:Predictive_Route_DataCfg:default-predictor:prr-mode}} option.&lt;br /&gt;
**'''ScoreIdealAgent.zcf''' - Called by URS before routing an interaction to an Agent Group or Virtual Agent Group at the time URS invokes the SelectDN function. This subroutine sorts the agents within the target group according to their scores, in decreasing order. It can also rescale the agent score to the range accepted by URS, if necessary.&lt;br /&gt;
**'''GetScoringContext.zcf''' - Looks for the customer feature key names used by the Predictor in URS global map, if already stored. If none is found, this subroutine makes an API call to GPR and fetches the Predictor details. From the returned details, it parses the customer_features_schema field and stores the necessary key names in URS global map with the expiration value set to 86400 seconds (one day).&lt;br /&gt;
**All user data matching the predictor feature keys and containing nonempty values is sent in the scoring request, except for any keys specifically excluded using the {{ExternalOptionsLink|link=Options:Predictive_Route_DataCfg:default:udata-keys-to-exclude}} option.&lt;br /&gt;
**'''GPRIxnSetup.zcf''' - Creates the interaction global map in URS memory with the ConnectionID as the key name; adds the Genesys Info Mart KVPs and initializes them with the default values; sets the gpmMode parameter to &amp;lt;tt&amp;gt;off&amp;lt;/tt&amp;gt; and gpmResult  to &amp;lt;tt&amp;gt;15&amp;lt;/tt&amp;gt; (Predictive Routing is turned off or not used for this interaction). See {{Link-SomewhereInThisManual|topic=cfgSubroutines|anchor=gprIxnSetup|display text=Configure GPRIxnSetup}} for complete configuration instructions and how to use this subroutine.&lt;br /&gt;
**'''GPRIxnCleanup.zcf''' - Sends outcome and other scoring data to the score log and attaches them to EventUserEvent in the form of KVPs for storage in the Genesys Info Mart database. The attached UserEvent data includes details required for Predictive Routing performance analysis, such as gpmStatus, which indicates whether, when the interaction was routed, there was an agent-surplus or an interaction-surplus situation. Also cancels the execution of the ScoreIdealAgent and isAgentScoreGood callback subroutines if an attempt to route an interaction with Predictive Routing times out. The strategy then tries to route the interaction using skill-based routing.&lt;br /&gt;
**This subroutine requires you to configure certain parameters. See {{Link-SomewhereInThisManual|topic=cfgSubroutines|anchor=GPRIxnCleanup|display text=Configure GPRIxnCleanup}} for instructions.&lt;br /&gt;
**This subroutine must be called from the default port of the last Routing block used for Predictive Routing. You must also set the '''Clear targets''' flag in that Routing block. Alternatively, you can configure the strategy to loop back to the same Routing block again after calling the GPRIxnCleanup subroutine.&lt;br /&gt;
*'''objects.kvlt''' - Contains the following statistics and macros, and the &amp;lt;tt&amp;gt;Transaction List&amp;lt;/tt&amp;gt; object used to configure the GPR subroutines in your Genesys Configuration environment. The objects included in this file are the following:&lt;br /&gt;
**'''Print_Log_Message''' macro, which is used for printing messages in GPR subroutines.&lt;br /&gt;
**'''RStatGPRAgentsReadyOrACWvoice''' - Custom statistic for identifying agents who are in the Ready or the ACW state. (introduced in 9.0.016.00)&lt;br /&gt;
**'''RStatAgentsTotal'''&lt;br /&gt;
**'''RStatAgentsReadyVoice'''&lt;br /&gt;
**'''StatAgentOccupancy'''&lt;br /&gt;
**The template file to create the [https://docs.genesys.com/Documentation/Options/Current/GPM/GPM_PRD '''Predictive_Route_DataCfg''' Transaction List object], with the required configuration options and default values.&lt;br /&gt;
**:'''NOTE:''' Carefully review and verify the default values set in the '''Predictive_Route_DataCfg''' &amp;lt;tt&amp;gt;Transaction List&amp;lt;/tt&amp;gt; object to ensure that they are appropriate for your environment.&lt;br /&gt;
&lt;br /&gt;
{{AnchorDiv|dynamicPriority}}&lt;br /&gt;
===Subroutines for Environments Using Dynamic Priority Routing===&lt;br /&gt;
The URS Strategy Subroutines provide the following subroutines that provide improved dynamic-priority interaction handling:&lt;br /&gt;
&lt;br /&gt;
*'''ActivatePredictiveRouting_v3''' - This subroutine does the following:&lt;br /&gt;
*#The main routing strategy should set the initial priority for the interaction. The Initialize Variables block takes the initial priority parameter from the skill data &amp;lt;tt&amp;gt;List&amp;lt;/tt&amp;gt; object and saves it to the parBasePriority local variable.&lt;br /&gt;
*#After a scoring request is completed and the agent scores are placed into the URS Global Map linked to the interaction, the subroutine executes priority increments. This happens once per interaction.&lt;br /&gt;
*#The subroutine verifies whether the {{ExternalOptionsLink|link=Options:Predictive_Route_DataCfg:default-predictor:set-dynamic-priority}} option is set to &amp;lt;tt&amp;gt;true&amp;lt;/tt&amp;gt;. The following steps are executed only on the first routing attempt when the option is set to &amp;lt;tt&amp;gt;true&amp;lt;/tt&amp;gt;.&lt;br /&gt;
*#The subroutine reads the remaining priority options configured on the Predictive_Route_DataCfg &amp;lt;tt&amp;gt;Transaction List&amp;lt;/tt&amp;gt; object: ({{ExternalOptionsLink|link=Options:Predictive_Route_DataCfg:default-predictor:priority-increment}}, {{ExternalOptionsLink|link=Options:Predictive_Route_DataCfg:default-predictor:priority-init-interval}}, and {{ExternalOptionsLink|link=Options:Predictive_Route_DataCfg:default-predictor:priority-interval}}).&lt;br /&gt;
*#The subroutine calls the IncrementPriorityEx function with the required arguments.&lt;br /&gt;
&lt;br /&gt;
{{AnchorDiv|shift-jis}}&lt;br /&gt;
===Subroutines for Environments Using Non-ASCII Encoding===&lt;br /&gt;
The URS Strategy Subroutines support non-ASCII encoding (by default, all GPR components use UTF-8 encoding). The subroutines specified below include enhancements for non-ASCII environments:&lt;br /&gt;
&lt;br /&gt;
*'''ActivatePredictiveRouting_v3''' - Converts non-ASCII characters to UTF-8 characters before sending scoring requests to the Predictive Routing scoring engine.&lt;br /&gt;
*'''GPRIxnCleanup''' - Converts non-ASCII characters to UTF-8 characters before sending scoring outcome data to the score logs.&lt;br /&gt;
*'''GetScoringAuthToken''' - Replaces the StrFormat function with the SetStringKey function. This eliminates an issue with the ''~s'' character in the StrFormat function, which does not work correctly in a non-ASCII environment.&lt;br /&gt;
|Status=No&lt;br /&gt;
}}{{Section&lt;br /&gt;
|sectionHeading=Configure URS to run Predictive Routing&lt;br /&gt;
|anchor=cfgURS&lt;br /&gt;
|alignment=Vertical&lt;br /&gt;
|structuredtext=Perform the following steps to configure URS to work with GPR:&lt;br /&gt;
{{AnchorDiv|cfgHttps}}&lt;br /&gt;
====Set the recommended values for the following options====&lt;br /&gt;
&lt;br /&gt;
#In the '''[default]''' section:&lt;br /&gt;
#*'''automatic_ideal_agent''' - Sets a universal score for all interactions not routed using GPR. This universal score enables you to compare GPR and non-GPR interactions when they are placed into a queue and provides a mechanism for resolution of agent reservation request collisions between GPR and non-GPR interactions processed by different URS nodes.&lt;br /&gt;
#**'''automatic_ideal_agent''' can take a Boolean value (true/false), but for use with GPR, set the value to a number, which is interpreted as the default deviation from the ideal score. GPR uses this value unless it is overwritten by the SetIdealAgent subroutine.&lt;br /&gt;
#**Genesys recommends that you set the value of '''automatic_ideal_agent'''  to &amp;lt;nowiki&amp;gt;(&amp;lt;max_score_for_current_predictor&amp;gt; - &amp;lt;median_score_for_GPR_agents_over_time&amp;gt;)&amp;lt;/nowiki&amp;gt;.&lt;br /&gt;
#**Use of '''automatic_ideal_agent''' requires URS version 8.1.400.60 or later.&lt;br /&gt;
#*'''run_verbose'''  - Set this option value to &amp;lt;tt&amp;gt;0&amp;lt;/tt&amp;gt; for production environments. (In non-production environments only, you can use the value &amp;lt;tt&amp;gt;1&amp;lt;/tt&amp;gt;.)&lt;br /&gt;
#*'''static_strategy''' - Set this option value to an empty string.&lt;br /&gt;
#*'''vqtime''' - Set this option value  to &amp;lt;tt&amp;gt;13:2048&amp;lt;/tt&amp;gt;.&lt;br /&gt;
#In the '''[web]''' section:&lt;br /&gt;
#*'''verbose''' - To configure the http log for URS to check scoring requests and responses, set the option value to &amp;lt;tt&amp;gt;3&amp;lt;/tt&amp;gt;.&lt;br /&gt;
#*'''http_port''' - Set this option value either to &amp;lt;tt&amp;gt;2071&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;web&amp;lt;/tt&amp;gt;.&lt;br /&gt;
#*'''def_trusted_ca''' - Specify the certificate authority to use for secure connection if Web Service object does not provide any.&lt;br /&gt;
#In the '''[http]''' section:&lt;br /&gt;
#*'''http_port''' - Set this option value either to &amp;lt;tt&amp;gt;2072&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;http&amp;lt;/tt&amp;gt;.&lt;br /&gt;
#*'''verbose''' - Set the option value to &amp;lt;tt&amp;gt;3&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
====Enable HTTPS support====&lt;br /&gt;
No changes to the Subroutines components are required. However, HTTPS support on Unix-based operating systems requires that you install the Genesys Security Pack on the host running Universal Routing Server (URS). See [https://docs.genesys.com/Documentation:System:SDG:TLSPrep:8.5.x#installGSPU Installing Genesys Security Pack] in the ''Genesys Security Deployment Guide'' for more information.&lt;br /&gt;
&lt;br /&gt;
*For instructions, and a general discussion of HTTPS and TLS support among Genesys components, see the [https://docs.genesys.com/Documentation:System:SDG:Welcome:8.5.x ''Genesys Security Deployment Guide''].&lt;br /&gt;
*For HTTP/S configuration for URS, see the section &amp;quot;Web Service Connections Using HTTP Bridge&amp;quot; in the ''Genesys 8.1 Universal Routing Deployment Guide'', the sections on Web Service Option (p. 687), IRD Web Service Object (p.771), and TLS (p. 782) in the {{Repository|81r_ref.pdf|7e6f8aca-9156-4d39-945f-e544a7b5229d|Universal Routing Reference Manual}}, and [https://docs.genesys.com/Documentation:R:Ref:HTTPBridge:latest HTTP Bridge Updates] in the Supplement to the ''Universal Routing Reference Manual''.&lt;br /&gt;
**Only simple TLS is supported. For simple TLS, you need to configure only the URS '''def_trusted_ca''' option.&lt;br /&gt;
&amp;lt;!--#**For mutual TLS, you need to configure the following three options: '''def_certificate''', '''def_certificate_key''', and '''def_trusted_ca'''.--&amp;gt;&lt;br /&gt;
**If you are using a chain of trusted certificates (intermediate ca and root ca, in pem file format), you can concatenate them, as described in [https://docs.genesys.com/Documentation:System:SDG:TLSConns:8.5.x Configuring Multiple Trusted CAs] in the ''Genesys Security Deployment Guide''.&lt;br /&gt;
|Status=No&lt;br /&gt;
}}{{Section&lt;br /&gt;
|sectionHeading=Configure the subroutines&lt;br /&gt;
|anchor=importConfig&lt;br /&gt;
|alignment=Vertical&lt;br /&gt;
|structuredtext=To use the strategy subroutines provided with Predictive Routing, perform the following steps:&lt;br /&gt;
&lt;br /&gt;
#Open the strategy you plan to use with Predictive Routing and place the ActivatePredictiveRouting Call Subroutine object in the desired location. It must be inserted into the routing strategy before the call to a Routing block or a call to the SelectDN function. The graphic below shows the subroutine insertion points.&lt;br /&gt;
#:This subroutine requires the following three input parameters:&lt;br /&gt;
#*&amp;lt;tt&amp;gt;skill_target:&amp;lt;/tt&amp;gt;  A &amp;lt;tt&amp;gt;STRING&amp;lt;/tt&amp;gt; indicating the target selected by the URS for an interaction. This must be a virtual agent group.&lt;br /&gt;
#*&amp;lt;tt&amp;gt;skill_data:&amp;lt;/tt&amp;gt; A &amp;lt;tt&amp;gt;LIST&amp;lt;/tt&amp;gt;, which must contain the following two keys: &lt;br /&gt;
#**&amp;lt;tt&amp;gt;overflow_timeout:&amp;lt;/tt&amp;gt; A STRING defining a period of time in seconds during which URS tries to route the interaction to the current target.&lt;br /&gt;
#**&amp;lt;tt&amp;gt;base_priority:&amp;lt;/tt&amp;gt; An INTEGER defining the priority value the interaction has before the call to the ActivatePredictiveRouting subroutine.&lt;br /&gt;
#*&amp;lt;tt&amp;gt;default_skill_data:&amp;lt;/tt&amp;gt; A &amp;lt;tt&amp;gt;LIST&amp;lt;/tt&amp;gt;, which must contain the following keys: &lt;br /&gt;
#**&amp;lt;tt&amp;gt;AgentScore:&amp;lt;/tt&amp;gt; Takes either &amp;lt;tt&amp;gt;Y&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;N&amp;lt;/tt&amp;gt; as its value. To activate predictive routing, you must set this parameter to &amp;lt;tt&amp;gt;Y&amp;lt;/tt&amp;gt;.&lt;br /&gt;
#**&amp;lt;tt&amp;gt;predictor:&amp;lt;/tt&amp;gt; Contains the name of the section in the Predictive_Route_DataCfg &amp;lt;tt&amp;gt;Transactions List&amp;lt;/tt&amp;gt; configuration object that defines predictor configuration.&lt;br /&gt;
#**&amp;lt;tt&amp;gt;START_TS:&amp;lt;/tt&amp;gt; See {{Link-SomewhereInThisManual|topic=cfgSubroutines|anchor=waitTime|display text=gpmWaitTime Configuration}} for details.) The UTC time indicating when an interaction arrived in the queue.&lt;br /&gt;
#The isAgentScoreGood subroutine checks for interactions that have been in queue for an unusually long time using the &amp;lt;tt&amp;gt;varQueueTimeSec&amp;lt;/tt&amp;gt; parameter, which is set to &amp;lt;tt&amp;gt;600&amp;lt;/tt&amp;gt; seconds by default. &lt;br /&gt;
#*If you are expecting conditions that might result in longer wait times, you might need to set a larger value for this variable. To change the value of this variable, edit the value for the {{Optionslink|link=Options:Predictive_Route_DataCfg:default-predictor:setreadycondition-timeout}}.&lt;br /&gt;
#*URS might experience high CPU loads if the timeout is extended beyond 600 seconds and you are using agent hold-out (that is, you have set the value for the {{Optionslink|link=Options:Predictive_Route_DataCfg:default-predictor:use-setreadycondition}} option to &amp;lt;tt&amp;gt;true&amp;lt;/tt&amp;gt;).&lt;br /&gt;
#The GPRIxnCompleted subroutine can be inserted either as a Custom Routing step in the Routing object or immediately in front of the object in your strategy that contains a call to the RouteCall function.&lt;br /&gt;
{{AnchorDiv|URSstratSubsCfgOpts}}&lt;br /&gt;
====Set Values for Configuration Options====&lt;br /&gt;
Set values for the configuration options in the [https://docs.genesys.com/Documentation/Options/Current/GPM/GPM_PRD Predictive_Route_DataCfg Transaction List Object]. &lt;br /&gt;
&lt;br /&gt;
*'''NOTE:''' Carefully review and verify the default values set in the '''Predictive_Route_DataCfg''' &amp;lt;tt&amp;gt;Transaction List&amp;lt;/tt&amp;gt; object to ensure that they are appropriate for your environment.&lt;br /&gt;
&lt;br /&gt;
*Among others, the GPR subroutines send the scoring requests to the URL configured in the {{Optionslink|link=Options:Predictive_Route_DataCfg:default:platform-base-url}} option and logging requests to the URL configured in the {{Optionslink|link=Options:Predictive_Route_DataCfg:default:platform-logging-url}} option.&lt;br /&gt;
*The {{Optionslink|link=Options:Predictive_Route_DataCfg:default:orig-connid-key}} option is required in all deployments to store the original connection ID, used as a unique identifier, for each interaction.&lt;br /&gt;
&lt;br /&gt;
{{AnchorDiv|gprIxnSetup}}&lt;br /&gt;
===Configure GPRIxnSetup===&lt;br /&gt;
The GPRIxnSetup subroutine does the following:&lt;br /&gt;
&lt;br /&gt;
*Creates the interaction global map in URS memory with the ConnectionID (ConnID)&amp;lt;!--(voice channel)/InteractionID(email channel)--&amp;gt; as the key name.&lt;br /&gt;
*Adds all the {{Link-SomewhereInThisManual|topic=GIMintegration|anchor=top|display text=Genesys Info Mart KVPs used in GPR}} and initializes them with the default values. All the KVP values initialized by the GPRIxnSetup are replaced with actual values when the remaining GPR subroutines are invoked. If the GPR subroutines are not invoked, the score log and the Genesys Info Mart database continue to store the default values set in the GPRIxnSetup subroutine.&lt;br /&gt;
*Sets the gpmMode parameter to &amp;lt;tt&amp;gt;off&amp;lt;/tt&amp;gt; and gpmResult to &amp;lt;tt&amp;gt;15&amp;lt;/tt&amp;gt; (Predictive Routing is turned off or not used for the current interaction). This establishes the initial condition in the contact center and establishes clearly when GPR actively begins to score agents and determine routing targets. As soon as interactions are routed using the GPR subroutines, these KVP values are updated to reflect actual contact center conditions.&lt;br /&gt;
&lt;br /&gt;
To report non-GPR calls in the score log and the Genesys Info Mart Database, set the value of the URS '''prestrategy''' option to &amp;lt;tt&amp;gt;GPRIxnSetup&amp;lt;/tt&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
*If you already specify a subroutine in the '''prestrategy''' option, you can copy the contents of the GPRIxnSetup subroutine into your existing subroutine.&lt;br /&gt;
*For a complete description of the '''prestrategy''' option, see the {{Repository|81r_ref.pdf|7e6f8aca-9156-4d39-945f-e544a7b5229d|Universal Routing Reference Manual}}.&lt;br /&gt;
&lt;br /&gt;
{{AnchorDiv|GPRIxnCleanup}}&lt;br /&gt;
===Configure GPRIxnCleanup===&lt;br /&gt;
The GPRIxnCleanup subroutine must be called from the default port of the last Routing block used for Predictive Routing. This subroutine correctly identifies abandoned interactions and interactions in which GPR was unable to route the interaction and add this information to the score log and the Genesys Info Mart gpmResult KVP. The KVP values used are the following:&lt;br /&gt;
&lt;br /&gt;
*gpmResult = 13, gpmMessage = Call Abandoned&lt;br /&gt;
*gpmResult = 14, gpmMessage = Call Routing Failed&lt;br /&gt;
&lt;br /&gt;
GPR does not report on abandoned calls by default. To enable this functionality, configure the GPRIxnCleanup subroutine as follows:&lt;br /&gt;
&lt;br /&gt;
#Add OnCallAbandoned['GPRIxnCleanup'] in the strategy that invokes the GPR subroutines. If you already use the OnCallAbandoned function to point to another strategy, update the target strategy to call the GPRIxnCleanup subroutine.&lt;br /&gt;
#When routing succeeds, call GPRIxnCleanup with the parameter &amp;lt;tt&amp;gt;true&amp;lt;/tt&amp;gt; from the '''default''' port of the last Routing block used for Predictive Routing.&lt;br /&gt;
#When routing fails, call GPRIxnCleanup with the parameter &amp;lt;tt&amp;gt;false&amp;lt;/tt&amp;gt; from the '''red''' port of the last Routing block used for Predictive Routing.&lt;br /&gt;
#When an interaction is abandoned, GPRIxnCleanup is called automatically with an empty parameter.&lt;br /&gt;
&lt;br /&gt;
{{AnchorDiv|nonGPRrpts}}&lt;br /&gt;
===Configure Reporting on Both GPR and Non-GPR Interactions===&lt;br /&gt;
There are a number of scenarios in which interactions routed using GPR and those routed using alternative methods (non-GPR) might target the same pool of agents:&lt;br /&gt;
&lt;br /&gt;
*Non-GPR interactions might be sent to the same queue as GPR interactions.&lt;br /&gt;
*A strategy might send some interactions to GPR and to non-GPR routing, based on specified conditions.&lt;br /&gt;
*A different strategy might be routing interactions to the same target agents as the GPR interactions.&lt;br /&gt;
&lt;br /&gt;
URS Strategy Subroutines provides support for tracking interactions not routed using GPR. The following KVP values provide the necessary information: &lt;br /&gt;
&lt;br /&gt;
*gpmMode &amp;amp;#61; &amp;lt;tt&amp;gt;off&amp;lt;/tt&amp;gt;&lt;br /&gt;
*gpmResult &amp;amp;#61; &amp;lt;tt&amp;gt;13&amp;lt;/tt&amp;gt; (abandoned) or &amp;lt;tt&amp;gt;14&amp;lt;/tt&amp;gt; (routing attempt failed)&lt;br /&gt;
{{NoteFormat|If routing fails for a non-GPR interaction, or it is abandoned, GPR does not record these status conditions. For GPR the following is recorded: gpmResult &amp;amp;#61; &amp;lt;tt&amp;gt;15&amp;lt;/tt&amp;gt;, gpmMode &amp;amp;#61; &amp;lt;tt&amp;gt;off&amp;lt;/tt&amp;gt;, gpmMessage &amp;amp;#61; &amp;lt;tt&amp;gt;Predictive Routing is turned off or not used for this interaction&amp;lt;/tt&amp;gt;. }}&lt;br /&gt;
To configure your routing environment to handle both GPR and non-GPR routed interactions, perform the following steps:&lt;br /&gt;
&lt;br /&gt;
#Configure the {{Link-SomewhereInThisManual|topic=cfgSubroutines|anchor=gprIxnSetup|display text=gprIxnSetup}} subroutine, which is require to report correctly on blended GPR and non-GPR routing.&lt;br /&gt;
#Call the following subroutines in all strategies routing interactions to agents also targeted from GPR. You can invoke them directly, without going through the ActivatePredictiveRouting_v3 subroutine. &lt;br /&gt;
#*GPRIxnCompleted should be called as a custom routing step in all Target Selection blocks or as a Function block before routing interactions to agents using a RouteCall block.&lt;br /&gt;
#*GPRIxnCleanup should be called after all Target Selection blocks or RouteCall blocks.&lt;br /&gt;
&lt;br /&gt;
{{AnchorDiv|waitTime}}&lt;br /&gt;
===gpmWaitTime Configuration===&lt;br /&gt;
The URS Strategy Subroutines use the value of the START_TS variable to calculate when the interaction arrived in the queue. START_TS is a mandatory variable passed in the default_skill_data List object and stored as a KVP for use in Genesys Info Mart reporting.&lt;br /&gt;
&lt;br /&gt;
*gpmWaitTime is calculated based on the difference between: (the UTC time when the agent is selected) - (START_TS variable value).&lt;br /&gt;
*The START_TS variable is also used for measuring periods of time in A/B tests.&lt;br /&gt;
*In Genesys Info Mart reporting, the value of the START_TS variable is converted to the DateTimeKey function, used to populate the START_DATE_TIME_KEY column in the GPM_FACT table.&lt;br /&gt;
|Status=No&lt;br /&gt;
}}{{Section&lt;br /&gt;
|sectionHeading=Turn off Predictive Routing&lt;br /&gt;
|anchor=gprOff&lt;br /&gt;
|alignment=Vertical&lt;br /&gt;
|structuredtext=You might choose to turn predictive routing off temporarily for A/B testing or troubleshooting. To do so, use one of the following methods:&lt;br /&gt;
&lt;br /&gt;
*Set the [https://docs.genesys.com/Documentation/Options/Draft/GPM/GPM_PRD-default-predictor#prr-mode prr-mode] configuration option to &amp;lt;tt&amp;gt;off&amp;lt;/tt&amp;gt;.&lt;br /&gt;
*Set AgentScore = &amp;lt;tt&amp;gt;N&amp;lt;/tt&amp;gt; in the default_skill_data object parameter passed to the ActivatePredictiveRouting_v3 subroutine.&lt;br /&gt;
|Status=No&lt;br /&gt;
}}{{Section&lt;br /&gt;
|sectionHeading=Upgrade to a new Subroutines release&lt;br /&gt;
|anchor=upgrade&lt;br /&gt;
|alignment=Vertical&lt;br /&gt;
|structuredtext=This upgrade procedure applies to all URS Strategy Subroutines upgrades, including upgrades from a pre-9.0.016.00 release of the URS Strategy Subroutines (that is, from RBN subroutines files to ZCF subroutines files). &lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' If you are using custom subroutines, contact your Genesys representative before upgrading.&lt;br /&gt;
&lt;br /&gt;
#From Genesys Administrator, back up the '''Annex''' tab of your Predictive_Route_DataCfg &amp;lt;tt&amp;gt;Transaction List&amp;lt;/tt&amp;gt; object to an '''.arch''' file. This preserves your options settings. (The '''.arch''' file is comparable to a '''.cfg''' file, but it is required for correct storage of the '''anon-salt''' value when using anonymization on premise.)&lt;br /&gt;
#If you have customized any of the statistics installed with GPR, make a backup of the customized statistics.&lt;br /&gt;
#Run the import procedure using the '''install.bat''' installation script, located in the installation package. See {{Link-SomewhereInThisVersion|manual=Deployment|topic=cfgSubroutines|anchor=install}} (above) for detailed instructions.&lt;br /&gt;
#After you have imported the new subroutines, return to Genesys Administrator and import your saved configuration options.&lt;br /&gt;
#:'''Note:''' There should be a prompt whether to overwrite the existing data. Choose &amp;lt;tt&amp;gt;no&amp;lt;/tt&amp;gt; and then proceed with the import. If there are differences between your current option values and the default values, the import process presents both values so you can choose which to use.&lt;br /&gt;
#If you are using customized statistics, restore them from the backup you made in Step 2.&lt;br /&gt;
|Status=No&lt;br /&gt;
}}{{Section&lt;br /&gt;
|sectionHeading=Subroutines behavior for anonymization on premise&lt;br /&gt;
|anchor=onPremAnon&lt;br /&gt;
|alignment=Vertical&lt;br /&gt;
|structuredtext=The following subroutines handle data anonymization:&lt;br /&gt;
&lt;br /&gt;
'''ActivatePredictiveRouting_v3'''&lt;br /&gt;
&lt;br /&gt;
*This subroutine reads the {{Optionslink|link=Options:Predictive_Route_DataCfg:default:anon-salt}}, {{Optionslink|link=Options:Predictive_Route_DataCfg:default:anon-agent-id}}, and {{Optionslink|link=Options:Predictive_Route_DataCfg:default:anon-customer-id}} options and stores the values in the interaction variables.&lt;br /&gt;
*If the '''anon-salt''' option has a value configured and '''anon-customer-id''' is set to &amp;lt;tt&amp;gt;true&amp;lt;/tt&amp;gt;, the value in the '''context_id''' field sent in score requests is anonymized.&lt;br /&gt;
*If '''anon-salt''' has a value configured and '''anon-agent-id''' is set to &amp;lt;tt&amp;gt;true&amp;lt;/tt&amp;gt;, then, having received the scoring response, the subroutine matches actual agent IDs stored in the interaction global map to the hashed agent IDs in the scoring response. All returned scores are stored with the actual agent ID in the global map for further use in the ScoreIdealAgent and isAgentScoreGood subroutines.&lt;br /&gt;
&lt;br /&gt;
'''GetActionFilters'''&lt;br /&gt;
&lt;br /&gt;
*If '''anon-salt''' is has a value configured and '''anon-agent-id''' is set to &amp;lt;tt&amp;gt;true&amp;lt;/tt&amp;gt;, the subroutine sends the anonymized version of the value in the Agent ID field in the score request.&lt;br /&gt;
*The subroutine stores the hashed agent IDs together with the actual agent IDs in the interaction-level URS global map so that the ActivatePredictiveRouting_v3 subroutine can map the hashed Agent IDs received in the scoring response with the actual Agent IDs for routing.&lt;br /&gt;
&lt;br /&gt;
'''GPRIxnCleanup'''&lt;br /&gt;
&lt;br /&gt;
*If the '''anon-salt''' option has a value configured and '''anon-customer-id''' is set to &amp;lt;tt&amp;gt;true&amp;lt;/tt&amp;gt;, the subroutine sends the anonymized version of the gpmAgentID value to the score log.&lt;br /&gt;
*If the '''anon-salt''' option has a value configured and '''anon-customer-id''' is set to &amp;lt;tt&amp;gt;true&amp;lt;/tt&amp;gt;, the subroutine sends the anonymized version of the  context_id value to the score log.&lt;br /&gt;
|Status=No&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Vivian</name></author>
		
	</entry>
	<entry>
		<id>https://all.docs.genesys.com/index.php?title=PE-GPR/9.0.0/Deployment/GIMintegration&amp;diff=69279</id>
		<title>PE-GPR/9.0.0/Deployment/GIMintegration</title>
		<link rel="alternate" type="text/html" href="https://all.docs.genesys.com/index.php?title=PE-GPR/9.0.0/Deployment/GIMintegration&amp;diff=69279"/>
		<updated>2020-10-22T12:49:17Z</updated>

		<summary type="html">&lt;p&gt;Vivian: Published&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{ArticleKVP&lt;br /&gt;
|Standalone=No&lt;br /&gt;
|DisplayName=Integrate with Genesys Reporting&lt;br /&gt;
|Platform=GenesysEngage-onpremises&lt;br /&gt;
|TocName=Integrate with Genesys Reporting&lt;br /&gt;
|ComingSoon=No&lt;br /&gt;
|Context=Genesys Predictive Routing (GPR) can supply a variety of information about routing outcomes for use by the Genesys reporting applications. GPR sends data for historical reporting in {{Glossaryterm|term=Key-Value Pair|text=key-value pairs (KVPs)}}. This KVP data, which is stored in the Info Mart database, can also to be fed back into GPR to refine predictors. In addition, Stat Server sends this KVP data to Pulse for real-time reporting.&lt;br /&gt;
|Section={{Section&lt;br /&gt;
|sectionHeading=GPR Reporting Data Flow&lt;br /&gt;
|Type=Structured&lt;br /&gt;
|alignment=Vertical&lt;br /&gt;
|gif=No&lt;br /&gt;
|structuredtext=[[File:GPRHistRptArch-Hybrid.png|left|thumb|GPR Reporting Data Flow]]&lt;br /&gt;
&lt;br /&gt;
#GPR data in the form of KVPs is attached to EventUserEvent TEvents. &lt;br /&gt;
#:The UserEvent contains '''AttributeThisDN''' with a value of &amp;lt;tt&amp;gt;Route Point,&amp;lt;/tt&amp;gt; which identifies where the strategy is executed and '''AttributeUserData,''' which holds a list of KVPs containing data about the interaction.&lt;br /&gt;
#:This Route Point should also be specified in the {{Optionslink|link=Options:Predictive_Route_DataCfg:default:vq-for-reporting}} option.&lt;br /&gt;
#Interaction Concentrator stores the KVP data in the Interaction Database (IDB), in the CUSTOM_DATA_S table.&lt;br /&gt;
#Genesys Info Mart gathers this raw data from IDB and prepares it for use in Genesys CX Insights historical reporting on GPR activity and performance. &lt;br /&gt;
#*Genesys Info Mart has specific requirements for the KVPs that must be attached (see {{Link-SomewhereInThisManual|topic=GIMintegration|anchor=KVPs|display text=GPR KVPs for Genesys Reporting}}, below).&lt;br /&gt;
#Reporting and Analytics Aggregates (RAA) further transforms the data in preparation for use by the presentation layer.&lt;br /&gt;
#Using Genesys CX Insights, you can create the following reports based on the GPR data. These reports are described in the ''Genesys Customer Experience Insights User's Guide'': &lt;br /&gt;
#*[https://all.docs.genesys.com/PEC-REP/Current/RPRT/HRCXIGPRAHTQ Predictive Routing - AHT &amp;amp; Queue Dashboard]&lt;br /&gt;
#*[https://all.docs.genesys.com/PEC-REP/Current/RPRT/HRCXIGPRMdlEfcncy Predictive Routing - Model Efficiency Dashboard]&lt;br /&gt;
#*[https://all.docs.genesys.com/PEC-REP/Current/RPRT/HRCXIGPRAgntOcpncy Predictive Routing Agent Occupancy Dashboard]&lt;br /&gt;
#*[https://all.docs.genesys.com/PEC-REP/Current/RPRT/HRCXIPredictiveABTstng Predictive Routing A/B Testing Report]&lt;br /&gt;
#*[https://all.docs.genesys.com/PEC-REP/Current/RPRT/HRCXIPredictiveDtl Predictive Routing Detail Report]&lt;br /&gt;
#*[https://all.docs.genesys.com/PEC-REP/Current/RPRT/HRCXIPredictiveOprtnl Predictive Routing Operational Report]&lt;br /&gt;
#*[https://all.docs.genesys.com/PEC-REP/Current/RPRT/HRCXIPredictiveQStat Predictive Routing Queue Statistics Report]&lt;br /&gt;
#Using '''Pulse''', you can access the ''Agent Group KPIs by Predictive Model'' and ''Queue KPIs by Predictive Model'' templates for real-time reporting. These templates are available from the {{#Widget:ExtLink|link=http://community.demo.genesys.com/pulse/templates|displaytext=Genesys Dashboard Community Center}}.&lt;br /&gt;
#:'''NOTE:''' Because Place objects do not have a Logged Out status, unlike Agent objects, some discrepancies appear in the Logged In, % Ready, and % Not Ready statistics in the GPR Agent KPI template between reports run on the Agent Group object and the Place Group object. By default, the Place object takes the NotReadyForNextCall status. As a result, a Pulse GPR Agent KPI report on a Place Group object does the following:&lt;br /&gt;
#*Displays all places in the Place Group as Logged In and in Not Ready, even though the associated DN is not logged in.&lt;br /&gt;
#*If an agent is logged out from the associated DN, the status of the Place is changed to NotReadyForNextCall from WaitForNextCall.&lt;br /&gt;
&lt;br /&gt;
In addition to the powerful Genesys Reporting solution, the GPR web application offers various reports and windows enabling you to {{Link-SomewhereInThisVersion|manual=Help|topic=Reports|display text=Monitor trends and performance}} (described in the ''Predictive Routing Help'').&lt;br /&gt;
&lt;br /&gt;
The following topics provide in-depth information about how Universal Routing Server (URS) makes routing decisions when you are using Predictive Routing and how GPR scores agents in various scenarios. Use the material covered in these topics to inform your understanding about what data the KVPs described in this topic store and how to create the most useful reports from the available data:&lt;br /&gt;
&lt;br /&gt;
*{{Link-SomewhereInThisManual|topic=ixnFlows|anchor=top|display text=Routing Scenarios Using GPR}}&lt;br /&gt;
*{{Link-SomewhereInThisManual|topic=agentScoring|anchor=top|display text=How Does GPR Score Agents?}}&lt;br /&gt;
&lt;br /&gt;
{{AnchorDiv|sendingDataToGIM}}&lt;br /&gt;
|fullwidth=No&lt;br /&gt;
|Status=No&lt;br /&gt;
}}{{Section&lt;br /&gt;
|sectionHeading=Configure Historical Reporting&lt;br /&gt;
|Type=Structured&lt;br /&gt;
|anchor=enablingReporting&lt;br /&gt;
|alignment=Vertical&lt;br /&gt;
|gif=No&lt;br /&gt;
|structuredtext=Genesys Info Mart release 8.5.014.19 or higher and later provides support for GPR reporting out-of-box in a Hybrid environment, with no additional configuration required on the Genesys Info Mart side. However, to send GPR data to Genesys Info Mart, as well as to see GPR data in Genesys CX Insights reports, you need to modify the configuration of GPR, Interaction Concentrator, and Reporting &amp;amp; Analytics Aggregates (RAA, the aggregation engine hosted by Genesys Info Mart).{{NoteFormat|For general information about how Genesys Info Mart uses attached user data, see the [https://docs.genesys.com/Documentation:GIM:Dep:GIMUserData Genesys Info Mart and Attached User Data] section of the ''Genesys Info Mart Deployment Guide.''|2}}&lt;br /&gt;
&lt;br /&gt;
#Ensure that ICON and IDB have been deployed as Genesys Info Mart requires, and that ICON is connected to the T-Server(s) or SIP Server(s) handling the GPR interactions. For details, see [https://docs.genesys.com/Documentation:GIM:Dep:GIMPrepICON Preparing Interaction Concentrator] in the ''Genesys Info Mart Deployment Guide.''&lt;br /&gt;
#Configure a DN for GPR reporting data.&lt;br /&gt;
#*Open Genesys Administrator Extension (GAX) and specify a DN to use with GPR. This DN can be a VQ DN, a Trunk Group DN, or any other recognized type, as long as you configure ICON to monitor it. The name of the DN is used inside URS strategy subroutines, so it should be meaningful and recognizable.&lt;br /&gt;
#Configure URS:&lt;br /&gt;
#*In the connections of your Universal Routing Server application, add the T-Server/SIP Server used to define the reporting Switch and DN in the GPR configuration. For example, GPR_Switch.&lt;br /&gt;
#In IRD, set up your routing solution to attach the required KVPs in UserEvents. For an example to guide you, refer to the GPRIxnCompleted subroutine provided with GPR.&lt;br /&gt;
#Configure Interaction Concentrator to store the GPR KVPs:&lt;br /&gt;
##Set the [https://docs.genesys.com/Documentation/Options/Current/ICON/ICON-custom-states#store-event-data store-event-data] option to &amp;lt;tt&amp;gt;all&amp;lt;/tt&amp;gt;, the recommended setting in GPR deployments, or &amp;lt;tt&amp;gt;conf&amp;lt;/tt&amp;gt;.  This option controls which KVP data from AttributeUserData of EventUserEvent ICON stores in the G_CUSTOM_DATA_S table.&lt;br /&gt;
##*To simplify configuration in deployments where GPR data is extracted for reporting, Genesys recommends setting the '''[custom-states].store-event-data''' configuration option to &amp;lt;tt&amp;gt;all&amp;lt;/tt&amp;gt;, which ensures that ICON stores all the UserEvent-based KVPs that Genesys Info Mart requires. However, be aware that setting '''store-event-data'''=&amp;lt;tt&amp;gt;all&amp;lt;/tt&amp;gt; has performance and security implications:&lt;br /&gt;
##**Performance — Processing and storing a large number of UserEvent-based KVPs increases database resource requirements and can impact performance.&lt;br /&gt;
##**Security — Sensitive data (for example, credit card information) might be sent in UserEvents that are not used for reporting. Unlike the situation for call-based attached data, where the G_SECURE_USERDATA_HISTORY table is available to provide secure IDB storage, there is no secure IDB table parallel to G_CUSTOM_DATA_S that provides separate, secure storage for sensitive data.&lt;br /&gt;
##*If you set '''store-event-data''' to &amp;lt;tt&amp;gt;conf&amp;lt;/tt&amp;gt;,  use the following [https://docs.genesys.com/Documentation/Options/Current/ICON/ICON-custom-states#EventData EventData] options to specify which KVPs to store:&lt;br /&gt;
##**EventData=char,gpmVQDBID,char,gpmGlobalScore,char,gpmMedianScore, char,gpmAdjustedAgentScore,char,gpmVQGUID&lt;br /&gt;
##**EventData_1=char,gpmModelId,char,gpmMinScore,char,gpmDefaultScoreUsed, char,gpmTargetSize,char,gpmWaitTime&lt;br /&gt;
##**EventData_2=char,gpmAgentRank,char,gpmUse,char,gpmVQNumber, char,gpmRouteAttemptId,char,gpmPredictorType&lt;br /&gt;
##**EventData_3=char,gpmPredictorId,char,gpmScoreAboveMedian, char,gpmSuitableAgentsCount,char,gpmDefaultScoredAgents,char,gpmPredictor&lt;br /&gt;
##**EventData_4=char,gpmInitialScoreThreshold,char,gpmMessage, char,gpmResult,char,gpmMode,char,gpmCustomerFound&lt;br /&gt;
##**EventData_5=char,gpmSwitchName,char,gpmMaxScore, char,gpmDefaultAgentScore,char,gpmAgentScore,char,gpmAgentID&lt;br /&gt;
##**EventData_6=char,gpmAgentDBID,char,gpmModel,char,gpmGlobalScoreCount, char,gpmPriorityIncrement,char,gpmFinalScoreThreshold&lt;br /&gt;
##**EventData_7=char,CALLID,char,START_TS,char,ServiceType, char,CustomerID,char,context_id&lt;br /&gt;
##**EventData_8=char,gpmStatus,char,gpmRoutingMethod&lt;br /&gt;
##Ensure that you have added the T-Server/SIP Server corresponding to the DN you created earlier for GPR to the '''Connections''' tab of the Interaction Concentrator &amp;lt;tt&amp;gt;Application&amp;lt;/tt&amp;gt; object.&lt;br /&gt;
#Configure GPR to attach KVP data by configuring the following options on the '''Predictive_Route_DataCfg''' Transaction List object:&lt;br /&gt;
#*[https://docs.genesys.com/Documentation/Options/Current/GPM/GPM_PRD-default#send-user-event send-user-event] - Enables attaching the Predictive Routing-specific key-value pairs.&lt;br /&gt;
#*[https://docs.genesys.com/Documentation/Options/Current/GPM/GPM_PRD-default#vq-for-reporting vq-for-reporting] - Indicates the virtual queue or DN where URS sends the GPR user event data. The user event data, in the form of key-value pairs (KVPs), is attached to EventUserEvent in the AttributeUserData attribute. For the list of KVPs to be attached, see {{Link-SomewhereInThisManual|topic=GIMintegration|anchor=KVPs|display text=GPR KVPs for Genesys Reporting}}, below. The following KVPs are mandatory for data to be available for Genesys Reporting:&lt;br /&gt;
#**gpmResult&lt;br /&gt;
#**CALLID&lt;br /&gt;
#**START_TS&lt;br /&gt;
#**ADDED_TS&lt;br /&gt;
#Ensure that your deployment has been configured as required for Genesys Info Mart to support reporting on contact center activity in general. For a summary of the configuration requirements, see [https://docs.genesys.com/Documentation:GIM:Dep:GIMDepVoiceSummary:latest Enabling Reporting on Voice Activity] in the ''Genesys Info Mart Deployment Guide''.&lt;br /&gt;
#Enable aggregation of GPR data. (Required for Genesys CX Insights reporting or other applications that use RAA aggregation.)&lt;br /&gt;
#*In the '''[agg-feature]''' section on the Genesys Info Mart application object, specify the [https://docs.genesys.com/Documentation/Options/Current/RAA/RAA-agg-feature#enable-gpr enable-gpr] and [https://docs.genesys.com/Documentation/Options/Current/RAA/RAA-agg-feature#enable-gpr-fcr enable-gpr-fcr] options.&lt;br /&gt;
#Verify the reporting data chain. After a few interactions have been routed with GPR in an operational mode, verify that the required KVPs are being sent, stored, and used as expected:&lt;br /&gt;
#*Check the T-Server/SIP Server logs to verify that UserEvents are being sent with the required KVPs.&lt;br /&gt;
#*Check the ICON logs and the G_CUSTOM_DATA_S table in IDB to verify that ICON is recording the required KVPs.&lt;br /&gt;
#*Check the GPM_* tables in the Info Mart database to verify that Genesys Info Mart is correctly transforming the data.&lt;br /&gt;
&lt;br /&gt;
For more information about configuring user data storage in Interaction Concentrator to work with Genesys Info Mart, see [https://docs.genesys.com/Documentation:GIM:Dep:GIMPrepICONApp#custom-states Important custom-states ICON Configuration Options] and [https://docs.genesys.com/Documentation:GIM:Dep:GIMPrepICONApp#uedataConfigConsiderations Configuration Considerations] in the ''Genesys Info Mart Deployment Guide.''&lt;br /&gt;
|fullwidth=No&lt;br /&gt;
|Status=No&lt;br /&gt;
}}{{Section&lt;br /&gt;
|sectionHeading=GPR KVPs for Genesys Reporting&lt;br /&gt;
|Type=Structured&lt;br /&gt;
|anchor=KVPs&lt;br /&gt;
|alignment=Vertical&lt;br /&gt;
|gif=No&lt;br /&gt;
|structuredtext=The following table describes the KVPs that Genesys Info Mart uses to enable GPR reporting. {{NoteFormat&lt;br /&gt;
|&lt;br /&gt;
*Use the Search box to quickly locate a specific KVP.&lt;br /&gt;
*Although the Predictive Routing short name is GPR, the gpm* prefix shown in the table below is correct. It reflects an earlier name for the product.&lt;br /&gt;
|&lt;br /&gt;
2}}&lt;br /&gt;
|fullwidth=No&lt;br /&gt;
|Status=No&lt;br /&gt;
}}&lt;br /&gt;
|KVP={{KVP&lt;br /&gt;
|KVP=gpmAgentDBID&lt;br /&gt;
|KVPDesc=Optional. The DBID of the agent to whom the interaction was routed.&lt;br /&gt;
|KVPType=INT&lt;br /&gt;
|KVPDefault=no default value&lt;br /&gt;
|mapsTo=RESOURCE_.RESOURCE_CFG_DBID (referenced through GPM_FACT.RESOURCE_KEY)&lt;br /&gt;
}}{{KVP&lt;br /&gt;
|KVP=gpmRouteAttemptId&lt;br /&gt;
|KVPDesc=The sequence number of the attempt to route an interaction using Predictive Routing. The value of this KVP is incremented each time the ActivatePredictiveRouting subroutine is called by the strategy, starting from &amp;lt;tt&amp;gt;1&amp;lt;/tt&amp;gt;.&lt;br /&gt;
|KVPType=INT&lt;br /&gt;
|KVPDefault=0&lt;br /&gt;
|KVPValid=integers starting from 1&lt;br /&gt;
|mapsTo=GPM_FACT.ROUTE_ATTEMPT_ID&lt;br /&gt;
}}{{KVP&lt;br /&gt;
|KVP=gpmMode&lt;br /&gt;
|KVPDesc=The mode in which Predictive Routing is operating, as specified by the [https://docs.genesys.com/Documentation/Options/Draft/GPM/GPM_PRD-default#prr-mode prr-mode] configuration option. For information about turning predictive routing off, see [https://docs.genesys.com/Documentation/GPM/9.0.0/oneguide/cfgSubroutines#gprOff Turn Off Predictive Routing].&lt;br /&gt;
|KVPType=Enum&lt;br /&gt;
|KVPDefault=unknown&lt;br /&gt;
|KVPValid=prod, off, dry-run, ab-test-time-sliced, unknown&lt;br /&gt;
|mapsTo=GPM_RESULT.GPM_MODE (referenced through GPM_FACT.GPM_RESULT_KEY)&lt;br /&gt;
|modified=9.0.015.00 - The value &amp;lt;tt&amp;gt;off&amp;lt;/tt&amp;gt; was added.&lt;br /&gt;
}}{{KVP&lt;br /&gt;
|KVP=gpmStatus&lt;br /&gt;
|KVPDesc=Indicates the scenario under which the interaction was processed. For more information about the scenarios, see {{Link-SomewhereInThisVersion|manual=Deployment|topic=ixnFlows|display text=Routing Scenarios Using GPR}}.&lt;br /&gt;
|KVPType=Enum&lt;br /&gt;
|KVPDefault=unknown&lt;br /&gt;
|KVPValid=agent-surplus, call-surplus, unknown&lt;br /&gt;
|mapsTo=GPM_RESULT.GPM_STATUS (referenced through GPM_FACT.GPM_RESULT_KEY)&lt;br /&gt;
}}{{KVP&lt;br /&gt;
|KVP=gpmUse&lt;br /&gt;
|KVPDesc=The meaning depends on the mode in which Predictive Routing is operating (see the description of the gpmMode KVP). This field is set to one of the following values:&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;tt&amp;gt;1&amp;lt;/tt&amp;gt; - When the mode is &amp;lt;tt&amp;gt;ab-test-time-sliced&amp;lt;/tt&amp;gt;, indicates that the interaction was selected for Predictive Routing. When the mode is &amp;lt;tt&amp;gt;prod&amp;lt;/tt&amp;gt;, indicates the normal case, when Predictive Routing occurred without error.&lt;br /&gt;
*&amp;lt;tt&amp;gt;0&amp;lt;/tt&amp;gt; - When the mode is &amp;lt;tt&amp;gt;ab-test-time-sliced&amp;lt;/tt&amp;gt;, indicates the interaction was processed with skill-based routing. When the mode is &amp;lt;tt&amp;gt;dry-run&amp;lt;/tt&amp;gt;, indicates that the interaction completed without error.&lt;br /&gt;
*&amp;lt;tt&amp;gt;unknown&amp;lt;/tt&amp;gt; -  For any mode, indicates that an error occurred in one of the Predictive Routing subroutines, and the solution defaulted to skill-based routing.&lt;br /&gt;
|KVPType=Enum&lt;br /&gt;
|KVPDefault=unknown&lt;br /&gt;
|KVPValid=1, 0, unknown&lt;br /&gt;
|mapsTo=GPM_RESULT.GPM_USE (referenced through GPM_FACT.GPM_RESULT_KEY)&lt;br /&gt;
}}{{KVP&lt;br /&gt;
|KVP=gpmResult&lt;br /&gt;
|KVPDesc=The result of Predictive Routing processing. If there is an error, the gpmMessage KVP contains the error message. &lt;br /&gt;
&lt;br /&gt;
*1 - Ok&lt;br /&gt;
*2 - Authentication to scoring engine failed&lt;br /&gt;
*3 - Scoring request failed&lt;br /&gt;
*4 - Agent list is empty&lt;br /&gt;
*5 - URS overload, interaction skipped&lt;br /&gt;
*6 - Predictor not found&lt;br /&gt;
*7 - Failed to build scoring request&lt;br /&gt;
*8 - SetIdealAgent or SetReadyCondition execution error&lt;br /&gt;
*9 - Interaction log not found in global map&lt;br /&gt;
*10 - Unknown error&lt;br /&gt;
*11 - Channel is not supported&lt;br /&gt;
*12 - Reserved for future use&lt;br /&gt;
*13 - Call Abandoned&lt;br /&gt;
*14 - Call Routing Failed&lt;br /&gt;
*15 - Predictive Routing is turned off or not used for this interaction&lt;br /&gt;
*16 - No agents found with a score above minimum threshold&lt;br /&gt;
|KVPType=Enum&lt;br /&gt;
|KVPDefault=no default value&lt;br /&gt;
|KVPValid=1–16&lt;br /&gt;
|mapsTo=GPM_RESULT.GPM_RESULT (referenced through GPM_FACT.GPM_RESULT_KEY)&lt;br /&gt;
|mandatoryForGIM=yes&lt;br /&gt;
|modified=9.0.015.00 - The values 12, 13, 14, and 15 were added.9.0.018.00 - The value 16 was added.&lt;br /&gt;
}}{{KVP&lt;br /&gt;
|KVP=gpmCustomerFound&lt;br /&gt;
|KVPDesc=Indicates whether features from the customer record specified in the routing strategy were successfully retrieved from the Customer Profile schema uploaded to the AI Core Services and used to calculate agent scores.&lt;br /&gt;
|KVPType=Enum&lt;br /&gt;
|KVPDefault=unknown&lt;br /&gt;
|KVPValid=0 (= No), 1 (= Yes), unknown&lt;br /&gt;
|mapsTo=GPM_RESULT.CUSTOMER_FOUND (referenced through GPM_FACT.GPM_RESULT_KEY)&lt;br /&gt;
}}{{KVP&lt;br /&gt;
|KVP=gpmPredictor&lt;br /&gt;
|KVPDesc=The name of the Predictor. If an error is encountered, the section name specified in the '''Predictive_Route_DataCfg''' Transaction List object is used as the Predictor name.&lt;br /&gt;
|KVPType=CHAR(255)&lt;br /&gt;
|KVPDefault=unknown&lt;br /&gt;
|KVPValid=The name of any Predictor in your environment&lt;br /&gt;
|mapsTo=GPM_PREDICTOR.PREDICTOR (referenced through GPM_FACT.GPM_PREDICTOR_KEY)&lt;br /&gt;
}}{{KVP&lt;br /&gt;
|KVP=gpmPredictorId&lt;br /&gt;
|KVPDesc=The UUID of the Predictor used for scoring.&lt;br /&gt;
|KVPType=CHAR(24)&lt;br /&gt;
|KVPDefault=unknown&lt;br /&gt;
|KVPValid=The ID for any Predictor in your environment&lt;br /&gt;
|mapsTo=GPM_PREDICTOR.PREDICTOR_ID (referenced through GPM_FACT.GPM_PREDICTOR_KEY)&lt;br /&gt;
}}{{KVP&lt;br /&gt;
|KVP=gpmModel&lt;br /&gt;
|KVPDesc=The name of the Model used to calculate agent scores for the interaction.&lt;br /&gt;
|KVPType=CHAR(255)&lt;br /&gt;
|KVPDefault=unknown&lt;br /&gt;
|KVPValid=The name of any Model in your environment&lt;br /&gt;
|mapsTo=GPM_MODEL.MODEL (referenced through GPM_FACT.GPM_MODEL_KEY)&lt;br /&gt;
}}{{KVP&lt;br /&gt;
|KVP=gpmModelId&lt;br /&gt;
|KVPDesc=The UUID of the Model used to calculate agent scores for the interaction.&lt;br /&gt;
|KVPType=CHAR(24)&lt;br /&gt;
|KVPDefault=unknown&lt;br /&gt;
|KVPValid=The ID for any Model in your environment&lt;br /&gt;
|mapsTo=GPM_MODEL.MODEL_ID (referenced through GPM_FACT.GPM_MODEL_KEY)&lt;br /&gt;
}}{{KVP&lt;br /&gt;
|KVP=gpmMessage&lt;br /&gt;
|KVPDesc=The message that displays when the Predictive Routing result reported in the gpmResult KVP is an error.&lt;br /&gt;
|KVPType=CHAR(255)&lt;br /&gt;
|KVPDefault=no default value&lt;br /&gt;
|mapsTo=GPM_FACT.MESSAGE&lt;br /&gt;
}}{{KVP&lt;br /&gt;
|KVP=gpmAgentScore&lt;br /&gt;
|KVPDesc=The score of the agent to whom the interaction was routed.&lt;br /&gt;
|KVPType=FLOAT&lt;br /&gt;
|KVPDefault=0&lt;br /&gt;
|KVPValid=any non-negative float value&lt;br /&gt;
|mapsTo=GPM_FACT.AGENT_SCORE&lt;br /&gt;
}}{{KVP&lt;br /&gt;
|KVP=gpmGlobalScore&lt;br /&gt;
|KVPDesc=The mean score calculated for an interaction using the Global Model.&lt;br /&gt;
|KVPType=FLOAT&lt;br /&gt;
|KVPDefault=0&lt;br /&gt;
|KVPValid=any non-negative float value&lt;br /&gt;
|mapsTo=GPM_FACT.GLOBAL_SCORE&lt;br /&gt;
}}{{KVP&lt;br /&gt;
|KVP=gpmMedianScore&lt;br /&gt;
|KVPDesc=The median score for the target group of agents to which the agent who received the interaction belongs.&lt;br /&gt;
|KVPType=FLOAT&lt;br /&gt;
|KVPDefault=0&lt;br /&gt;
|KVPValid=any non-negative float value&lt;br /&gt;
|mapsTo=GPM_FACT.MEDIAN_SCORE&lt;br /&gt;
}}{{KVP&lt;br /&gt;
|KVP=gpmMaxScore&lt;br /&gt;
|KVPDesc=The score of the best-matching agent in the target group.&lt;br /&gt;
|KVPType=FLOAT&lt;br /&gt;
|KVPDefault=0&lt;br /&gt;
|KVPValid=any non-negative float value&lt;br /&gt;
|mapsTo=GPM_FACT.MAX_SCORE&lt;br /&gt;
}}{{KVP&lt;br /&gt;
|KVP=gpmMinScore&lt;br /&gt;
|KVPDesc=The score of the worst-matching agent in the target group.&lt;br /&gt;
|KVPType=FLOAT&lt;br /&gt;
|KVPDefault=0&lt;br /&gt;
|KVPValid=any non-negative float value&lt;br /&gt;
|mapsTo=GPM_FACT.MIN_SCORE&lt;br /&gt;
}}{{KVP&lt;br /&gt;
|KVP=gpmScoreAboveMedian&lt;br /&gt;
|KVPDesc=Indicates whether the score for the selected agent was better than the median score for the target group.&lt;br /&gt;
|KVPType=Enum&lt;br /&gt;
|KVPDefault=unknown&lt;br /&gt;
|KVPValid=0 (no), 1 (yes), unknown&lt;br /&gt;
|mapsTo=GPM_FACT.SCORE_ABOVE_MEDIAN&lt;br /&gt;
}}{{KVP&lt;br /&gt;
|KVP=gpmAgentRank&lt;br /&gt;
|KVPDesc=The rank of the agents in the target group, based on agent scores sorted in descending order.&lt;br /&gt;
|KVPType=SHORT&lt;br /&gt;
|KVPDefault=0&lt;br /&gt;
|KVPValid=0, any positive integer&lt;br /&gt;
|mapsTo=GPM_FACT.AGENT_RANK&lt;br /&gt;
}}{{KVP&lt;br /&gt;
|KVP=gpmTargetSize&lt;br /&gt;
|KVPDesc=The size of the scored target group (in other words, the length of the list of agents received from the scoring engine).&lt;br /&gt;
|KVPType=SHORT&lt;br /&gt;
|KVPDefault=0&lt;br /&gt;
|KVPValid=0, any positive integer&lt;br /&gt;
|mapsTo=GPM_FACT.TARGET_SIZE&lt;br /&gt;
}}{{KVP&lt;br /&gt;
|KVP=gpmWaitTime&lt;br /&gt;
|KVPDesc=The amount of time, in seconds, the interaction spent in the queue used for Predictive Routing decision-making, starting from when the strategy started to process the interaction until it was routed to the agent. Note that the point when processing starts might depend on how you have configured your strategy.&lt;br /&gt;
|KVPType=INT&lt;br /&gt;
|KVPDefault=0&lt;br /&gt;
|KVPValid=0, any positive integer&lt;br /&gt;
|mapsTo=GPM_FACT.WAIT_TIME&lt;br /&gt;
}}{{KVP&lt;br /&gt;
|KVP=CALLID&lt;br /&gt;
|KVPDesc=Value of AttributeCallUUID for the interaction.&lt;br /&gt;
|KVPType=CHAR(32)&lt;br /&gt;
|KVPDefault=a valid CALLID&lt;br /&gt;
|mapsTo=GPM_FACT.MEDIA_SERVER_IXN_GUID&lt;br /&gt;
|mandatoryForGIM=yes&lt;br /&gt;
}}{{KVP&lt;br /&gt;
|KVP=START_TS&lt;br /&gt;
|KVPDesc=UTC timestamp, indicating the time when the interaction arrived at the contact center.&lt;br /&gt;
Note that this value is different from gpm-ixn-timestamp, which, in release 9.0.014.04 and earlier, indicates the time when the strategy started processing the interaction. gpm-ixn-timestamp is configured in the default_skill_data object, from which it is passed to the ActivatePredictiveRouting_v3 subroutine.&lt;br /&gt;
&lt;br /&gt;
In URS Strategy Subroutines 9.0.015.00 and higher, gpm-ixn-timestamp is not used, and START_TS must be passed in the default_skill_data parameter. gpmWaitTime (the actual wait time of the interaction in the queue before an agent is selected) is calculated based on the difference between the UTC time when agent is selected minus the START_TS value.&lt;br /&gt;
|KVPType=INT&lt;br /&gt;
|KVPDefault=no default value&lt;br /&gt;
|KVPValid=a valid UTC timestamp&lt;br /&gt;
|mapsTo=GPM_FACT.START_DATE_TIME_KEY&lt;br /&gt;
|mandatoryForGIM=yes&lt;br /&gt;
}}{{KVP&lt;br /&gt;
|KVP=ADDED_TS&lt;br /&gt;
|KVPDesc=UTC timestamp, indicating the date and time when the record was added as inherited from the T-Server TEvent.&lt;br /&gt;
|KVPType=INT&lt;br /&gt;
|KVPDefault=no default value&lt;br /&gt;
|KVPValid=any valid UTC timestamp&lt;br /&gt;
|mapsTo=GPM_FACT.ADDED_TS&lt;br /&gt;
|mandatoryForGIM=yes&lt;br /&gt;
}}{{KVP&lt;br /&gt;
|KVP=gpmDefaultAgentScore&lt;br /&gt;
|KVPDesc=This default agent score for the associated interaction. The value is the outcome, for this interaction, of the setting specified in the [https://docs.genesys.com/Documentation/Options/Draft/GPM/GPM_PRD-default-predictor#default-agent-score default-agent-score] configuration option.&lt;br /&gt;
|KVPType=FLOAT&lt;br /&gt;
|KVPDefault=0&lt;br /&gt;
|KVPValid=any non-negative float value&lt;br /&gt;
|mapsTo=GPM_FACT.DEFAULT_SCORE&lt;br /&gt;
|introduced=9.0.015.00&lt;br /&gt;
}}{{KVP&lt;br /&gt;
|KVP=gpmDefaultScoreUsed&lt;br /&gt;
|KVPDesc=*0 - The agent score for the associated interaction is taken from the scoring response returned by GPR.&lt;br /&gt;
*1 - The agent score for the associated interaction is calculated based on the value set for the [https://docs.genesys.com/Documentation/Options/Draft/GPM/GPM_PRD-default-predictor#default-agent-score default-agent-score] configuration option.&lt;br /&gt;
|KVPType=INT&lt;br /&gt;
|KVPDefault=0&lt;br /&gt;
|KVPValid=0, 1&lt;br /&gt;
|mapsTo=GPM_FACT.DEFAULT_SCORE_USED&lt;br /&gt;
|introduced=9.0.015.00&lt;br /&gt;
}}{{KVP&lt;br /&gt;
|KVP=gpmDefaultScoredAgents&lt;br /&gt;
|KVPDesc=The number of agents assigned the default score for the associated interaction.&lt;br /&gt;
|KVPType=INT&lt;br /&gt;
|KVPDefault=0&lt;br /&gt;
|KVPValid=0, any positive integer&lt;br /&gt;
|mapsTo=GPM_FACT.DEFAULT_SCORES_COUNT&lt;br /&gt;
|introduced=9.0.015.00&lt;br /&gt;
}}{{KVP&lt;br /&gt;
|KVP=gpmGlobalScoreCount&lt;br /&gt;
|KVPDesc=Describes the number of agent scores returned for an interaction using a GLOBAL model.&lt;br /&gt;
|KVPType=INT&lt;br /&gt;
|KVPDefault=0&lt;br /&gt;
|KVPValid=0, any positive integer&lt;br /&gt;
|mapsTo=GPM_FACT.GLOBAL_SCORES_COUNT&lt;br /&gt;
|introduced=9.0.015.00&lt;br /&gt;
}}{{KVP&lt;br /&gt;
|KVP=gpmAdjustedAgentScore&lt;br /&gt;
|KVPDesc=The final agent score used to route the associated interaction to the selected agent. This score is calculated from the gpmAgentScore combined with any agent occupancy factor.&lt;br /&gt;
|KVPType=FLOAT&lt;br /&gt;
|KVPDefault=0&lt;br /&gt;
|KVPValid=any non-negative float value&lt;br /&gt;
|mapsTo=GPM_FACT.ADJUSTED_SCORE&lt;br /&gt;
|introduced=9.0.015.00&lt;br /&gt;
}}{{KVP&lt;br /&gt;
|KVP=gpmInitialScoreThreshold&lt;br /&gt;
|KVPDesc=The initial threshold value used for the interaction, taken from the value set in the [https://docs.genesys.com/Documentation/Options/Draft/GPM/GPM_PRD-default-predictor#score-base-threshold score-base-threshold] configuration option.&lt;br /&gt;
|KVPType=INT&lt;br /&gt;
|KVPDefault=0&lt;br /&gt;
|KVPValid=any integer&lt;br /&gt;
|mapsTo=GPM_FACT.INITIAL_SCORE_THRESHOLD&lt;br /&gt;
|introduced=9.0.015.00&lt;br /&gt;
}}{{KVP&lt;br /&gt;
|KVP=gpmFinalScoreThreshold&lt;br /&gt;
|KVPDesc=The final threshold value used to route the associated interaction to the selected agent. The routing strategy calculates the value from the configured score threshold combined with values resulting from any [https://docs.genesys.com/Documentation/Options/Draft/GPM/GPM_PRD-default-predictor agent holdout options].&lt;br /&gt;
|KVPType=INT&lt;br /&gt;
|KVPDefault=0&lt;br /&gt;
|KVPValid=any integer&lt;br /&gt;
|mapsTo=GPM_FACT.FINAL_SCORE_THRESHOLD&lt;br /&gt;
|introduced=9.0.015.00&lt;br /&gt;
}}{{KVP&lt;br /&gt;
|KVP=gpmSuitableAgentsCount&lt;br /&gt;
|KVPDesc=The number of agents who had scores greater than or equal to the initial threshold value when the scoring response was received.&lt;br /&gt;
|KVPType=INT&lt;br /&gt;
|KVPDefault=0&lt;br /&gt;
|KVPValid=0, any positive integer&lt;br /&gt;
|mapsTo=GPM_FACT.SUITABLE_AGENTS_COUNT&lt;br /&gt;
|introduced=9.0.015.00&lt;br /&gt;
}}{{KVP&lt;br /&gt;
|KVP=gpmPredictorType&lt;br /&gt;
|KVPDesc=Describes whether the applied predictor is used for Sales KPI or Service KPI.&lt;br /&gt;
|KVPType=CHAR[32]&lt;br /&gt;
|KVPDefault=unknown&lt;br /&gt;
|KVPValid=Sales, Service&lt;br /&gt;
|mapsTo=GPM_DIM1.PREDICTOR_TYPE&lt;br /&gt;
|introduced=9.0.016.00&lt;br /&gt;
}}{{KVP&lt;br /&gt;
|KVP=gpmRoutingMethod&lt;br /&gt;
|KVPDesc=Reserved for future use.&lt;br /&gt;
|KVPType=CHAR[32]&lt;br /&gt;
|KVPDefault=unknown&lt;br /&gt;
|mapsTo=GPM_DIM1.ROUTING_CRITERIA&lt;br /&gt;
|introduced=9.0.015.00&lt;br /&gt;
}}{{KVP&lt;br /&gt;
|KVP=gpmVQDBID&lt;br /&gt;
|KVPDesc=The DBID of the virtual queue or DN configured in the [https://docs.genesys.com/Documentation/Options/Draft/GPM/GPM_PRD-default#vq-for-reporting vq-for-reporting] configuration option (configured on the Predictive_Route_DataCfgTransaction List object).	&lt;br /&gt;
&lt;br /&gt;
*Requires Genesys Info Mart release 8.5.014.19 or higher.&lt;br /&gt;
&amp;lt;!--*This KVP is sent only to Genesys Info Mart. It does not appear in the score_log file.--&amp;gt;&lt;br /&gt;
|KVPType=INT&lt;br /&gt;
|KVPDefault=No default value&lt;br /&gt;
|KVPValid=Any valid DBID&lt;br /&gt;
|mapsTo=RESOURCE_.RESOURCE_CFG_DBID (referenced through GPM_FACT.VQ_RESOURCE_KEY)&lt;br /&gt;
|introduced=9.0.016.00&lt;br /&gt;
}}{{KVP&lt;br /&gt;
|KVP=gpmVQGUID&lt;br /&gt;
|KVPDesc=Value of the Virtual Queue ID (RPVQID) stored in the interaction user data. This is a special GUID value that uniquely identifies the entrance of the interaction into certain virtual queues. The RPVQID is created by URS when the interaction enters into the virtual queue and is present in all VirtualQueue events that URS distributes.	&lt;br /&gt;
&lt;br /&gt;
*Requires Genesys Info Mart release 8.5.014.19 or higher.&lt;br /&gt;
&amp;lt;!--*This KVP is sent only to Genesys Info Mart. It does not appear in the score_log file.--&amp;gt;&lt;br /&gt;
|KVPType=CHAR[32]&lt;br /&gt;
|KVPDefault=No default value&lt;br /&gt;
|KVPValid=Any valid Virtual Queue GUID&lt;br /&gt;
|mapsTo=GPM_FACT.VQ_GUID&lt;br /&gt;
|introduced=9.0.016.00&lt;br /&gt;
}}{{KVP&lt;br /&gt;
|KVP=gpmPriorityIncrement&lt;br /&gt;
|KVPDesc=Specifies whether the priority of the interaction was increased above the configured base priority value. If set to 0, the interaction was routed at the base priority. If the value for this KVP is 1, the priority was incremented above the base priority and, as a result, the selected agent was not verified for the expected threshold score.&lt;br /&gt;
&lt;br /&gt;
*This KVP is sent only to the score_log file. It is not stored in any Genesys Info Mart table.&lt;br /&gt;
|KVPType=CHAR[32]&lt;br /&gt;
|KVPDefault=0&lt;br /&gt;
|KVPValid=0, 1&lt;br /&gt;
|introduced=9.0.016.00&lt;br /&gt;
}}{{KVP&lt;br /&gt;
|KVP=CustomerID&lt;br /&gt;
|KVPDesc=The GPRIxnCleanup subroutine takes this KVP from user data attached to the interaction, and passes it to the Genesys Historical Reporting solution in the EventUserEvent event. GPR does not generate this KVP.&lt;br /&gt;
|KVPType=Postgres: varchar(255); Oracle: VARCHAR2(255 CHAR); Microsoft SQL: varchar(255)/nvarchar(255)&lt;br /&gt;
|mapsTo=IRF_USER_DATA_GEN_1.CUSTOMER_ID&lt;br /&gt;
|introduced=9.0.016.00&lt;br /&gt;
}}{{KVP&lt;br /&gt;
|KVP=ServiceType&lt;br /&gt;
|KVPDesc=The GPRIxnCleanup subroutine takes this KVP from user data attached to the interaction, and passes it to the Genesys Historical Reporting solution in the EventUserEvent event. GPR does not generate this KVP.&lt;br /&gt;
|KVPType=Oracle: VARCHAR2(255 CHAR); Postgres: varchar(255); Microsoft SQL: nvarchar(170)&lt;br /&gt;
|mapsTo=INTERACTION_DESCRIPTOR.SERVICE_TYPE&lt;br /&gt;
|introduced=9.0.016.00&lt;br /&gt;
}}{{KVP&lt;br /&gt;
|KVP=gpmPriorityIncrement&lt;br /&gt;
|KVPDesc=If the value is 0, the priority of the interaction did not increase above the configured base_priority value. If the value is 1, the priority of the interaction did increase above the configured base_priority and, as a result, the selected agent was not verified for the expected threshold score. &lt;br /&gt;
&lt;br /&gt;
'''Note:''' This KVP is not currently stored as a separate column in the Genesys Info Mart database. It can be accessed from the score_log file using the GPR API.&lt;br /&gt;
|KVPType=N/A&lt;br /&gt;
|KVPDefault=0&lt;br /&gt;
|KVPValid=0,1&lt;br /&gt;
|mapsTo=N/A&lt;br /&gt;
|introduced=9.0.016.00&lt;br /&gt;
}}{{KVP&lt;br /&gt;
|KVP=gpmDeploymentType&lt;br /&gt;
|KVPDesc=The URS Strategy Subroutines read the value for this KVP from the '''deployment-type''' configuration option, which is set once, when a new Predictive Routing account is initially configured. &lt;br /&gt;
&lt;br /&gt;
'''Note:''' This KVP is not currently stored as a separate column in the Genesys Info Mart database. It can be accessed from the score_log file using the GPR API.&lt;br /&gt;
|KVPType=N/A&lt;br /&gt;
|KVPDefault=hybrid&lt;br /&gt;
|KVPValid=hybrid, cloud&lt;br /&gt;
|mapsTo=N/A&lt;br /&gt;
|introduced=9.0.017.00&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
{{BestPractices}}&lt;/div&gt;</summary>
		<author><name>Vivian</name></author>
		
	</entry>
	<entry>
		<id>https://all.docs.genesys.com/index.php?title=File:GPRHistRptArch-Hybrid.png&amp;diff=69278</id>
		<title>File:GPRHistRptArch-Hybrid.png</title>
		<link rel="alternate" type="text/html" href="https://all.docs.genesys.com/index.php?title=File:GPRHistRptArch-Hybrid.png&amp;diff=69278"/>
		<updated>2020-10-22T12:48:51Z</updated>

		<summary type="html">&lt;p&gt;Vivian: Vivian uploaded a new version of File:GPRHistRptArch-Hybrid.png&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Vivian</name></author>
		
	</entry>
	<entry>
		<id>https://all.docs.genesys.com/index.php?title=PE-GPR/9.0.0/Help/cfgAccounts&amp;diff=69039</id>
		<title>PE-GPR/9.0.0/Help/cfgAccounts</title>
		<link rel="alternate" type="text/html" href="https://all.docs.genesys.com/index.php?title=PE-GPR/9.0.0/Help/cfgAccounts&amp;diff=69039"/>
		<updated>2020-10-19T15:15:18Z</updated>

		<summary type="html">&lt;p&gt;Vivian: Published&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Article&lt;br /&gt;
|Standalone=No&lt;br /&gt;
|DisplayName=Configure your account&lt;br /&gt;
|TocName=Configure your account&lt;br /&gt;
|Context=An account usually represents a business or, in multitenant environments, a tenant. This page explains how to update your account.&lt;br /&gt;
|ComingSoon=No&lt;br /&gt;
|Platform=GenesysEngage-cloud&lt;br /&gt;
|Section={{Section&lt;br /&gt;
|sectionHeading=Update your  account&lt;br /&gt;
|alignment=Horizontal&lt;br /&gt;
|Media=Image&lt;br /&gt;
|image=PRMcreateAccount.png&lt;br /&gt;
|structuredtext=To configure and account, click an account name. The following parameters appear on the '''Accounts Settings''' tab. For help with the '''Account/Password Policy''' tab, see {{Link-SomewhereInThisManual|topic=cfgAccounts|anchor=acctPasswordMgmt|display text=Password policy configuration}}.&lt;br /&gt;
&lt;br /&gt;
*Locked—(STAFF and ADMIN users only) Lock the account to prevent anyone from editing it.&lt;br /&gt;
*Account Name—The name you assigned to the account.&lt;br /&gt;
*API key - The API key required to access the Predictive Routing API.&lt;br /&gt;
|structuredtextwide=*(STAFF use only) Customer Features Limit and Agent Features Limit - STAFF users can configure the number of customer and agent features supported for upload to the Customer Profile and Agent Profile datasets. The default value for these fields is 50.&lt;br /&gt;
*(STAFF use only) Audit Log Enabled - Turn the audit trail on or off. Production environments typically use audit logging.&lt;br /&gt;
*(STAFF use only) Genesys Engage Cloud Tenant ID - The Genesys-provided Tenant ID for your Genesys Engage cloud account. This field is mandatory.&lt;br /&gt;
*Account Notes - Any information important to keep about this account.&lt;br /&gt;
|Status=No&lt;br /&gt;
}}{{Section&lt;br /&gt;
|sectionHeading=The Password Policy tab&lt;br /&gt;
|anchor=acctPasswordMgmt&lt;br /&gt;
|alignment=Vertical&lt;br /&gt;
|structuredtext=ADMIN users can use this tab to specify how GPR handles user passwords and login attempts. It contains the following fields:&lt;br /&gt;
{{{!}} border=&amp;quot;1&amp;quot;&lt;br /&gt;
{{!}}-&lt;br /&gt;
!{{!}}Field name&lt;br /&gt;
!{{!}}Default Value&lt;br /&gt;
!{{!}}Valid Values&lt;br /&gt;
{{!}}-&lt;br /&gt;
{{!}}{{!}}Password expires after [x] days&lt;br /&gt;
{{!}}{{!}}90&lt;br /&gt;
{{!}}{{!}}1&amp;amp;ndash;90 days&lt;br /&gt;
{{!}}-&lt;br /&gt;
{{!}}{{!}}Password cannot be changed until after [x] hours&lt;br /&gt;
{{!}}{{!}}24&lt;br /&gt;
{{!}}{{!}}1&amp;amp;ndash;72 hours&lt;br /&gt;
{{!}}-&lt;br /&gt;
{{!}}{{!}}Show password expiration reminder [x] days before password expiry&lt;br /&gt;
{{!}}{{!}}7&lt;br /&gt;
{{!}}{{!}}1&amp;amp;ndash;14 days&lt;br /&gt;
{{!}}-&lt;br /&gt;
{{!}}{{!}}Password cannot be the same as the [x] previous passwords&lt;br /&gt;
{{!}}{{!}}5&lt;br /&gt;
{{!}}{{!}}5&amp;amp;ndash;15 previous passwords&lt;br /&gt;
{{!}}-&lt;br /&gt;
{{!}}{{!}}Account is locked after [x] invalid login attempts&lt;br /&gt;
{{!}}{{!}}6&lt;br /&gt;
{{!}}{{!}}3&amp;amp;ndash;6 invalid login attempts&lt;br /&gt;
{{!}}-&lt;br /&gt;
{{!}}{{!}}Unlock user account after [x] minutes&lt;br /&gt;
{{!}}{{!}}60&lt;br /&gt;
{{!}}{{!}}30&amp;amp;ndash;300 minutes&lt;br /&gt;
{{!}}-&lt;br /&gt;
{{!}}{{!}}Block inactive user after [x] days&lt;br /&gt;
{{!}}{{!}}45&lt;br /&gt;
{{!}}{{!}}1&amp;amp;ndash;90 days&lt;br /&gt;
{{!}}-&lt;br /&gt;
{{!}}{{!}}Message to show blocked users:&lt;br /&gt;
{{!}}{{!}}This user account was blocked due to too many failed login attempts. Please try again later.&lt;br /&gt;
{{!}}{{!}}Leave the default, edit the message to be displayed to blocked users, or leave the text box empty to omit a notification message.&lt;br /&gt;
{{!}}}&lt;br /&gt;
|Status=No&lt;br /&gt;
}}{{Section&lt;br /&gt;
|sectionHeading=Accessing audit trail information&lt;br /&gt;
|anchor=audit&lt;br /&gt;
|alignment=Vertical&lt;br /&gt;
|structuredtext=If you must view audit trail information, contact your Genesys representative for assistance. Genesys retains audit data for five years, then automatically deletes it. &lt;br /&gt;
&lt;br /&gt;
You can request an audit record for the following activities:&lt;br /&gt;
&lt;br /&gt;
*Actions (see the list below) done by any user who has access to the current account.&lt;br /&gt;
*Creation or deletion of objects in the system.&lt;br /&gt;
&lt;br /&gt;
For each activity, the audit log stores following information:&lt;br /&gt;
&lt;br /&gt;
*The user ID of the person who performed the action.&lt;br /&gt;
*The date and time of the action.&lt;br /&gt;
*The result of the operation (failure, success).&lt;br /&gt;
*The GPR components affected by the action.&lt;br /&gt;
&lt;br /&gt;
GPR stores the specified data for the following objects:&lt;br /&gt;
&lt;br /&gt;
*'''Datasets'''&lt;br /&gt;
**create&lt;br /&gt;
**append&lt;br /&gt;
**delete&lt;br /&gt;
*'''Agent Profiles and Customer Profiles'''&lt;br /&gt;
**create (but only if created using the Predictive Routing application; the audit trail does not record profiles created using the API)&lt;br /&gt;
**append&lt;br /&gt;
*'''Users/Accounts'''&lt;br /&gt;
**create/update&lt;br /&gt;
**delete&lt;br /&gt;
*'''Predictors'''&lt;br /&gt;
**create&lt;br /&gt;
**update&lt;br /&gt;
**generate training data&lt;br /&gt;
**purge training data&lt;br /&gt;
**copy&lt;br /&gt;
*'''M​odels'''&lt;br /&gt;
**create&lt;br /&gt;
**delete&lt;br /&gt;
**train&lt;br /&gt;
**activate&lt;br /&gt;
**suspend&lt;br /&gt;
|Status=No&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Vivian</name></author>
		
	</entry>
	<entry>
		<id>https://all.docs.genesys.com/index.php?title=File:PRMcreateAccount.png&amp;diff=68879</id>
		<title>File:PRMcreateAccount.png</title>
		<link rel="alternate" type="text/html" href="https://all.docs.genesys.com/index.php?title=File:PRMcreateAccount.png&amp;diff=68879"/>
		<updated>2020-10-15T18:34:31Z</updated>

		<summary type="html">&lt;p&gt;Vivian: Vivian uploaded a new version of File:PRMcreateAccount.png&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Vivian</name></author>
		
	</entry>
	<entry>
		<id>https://all.docs.genesys.com/index.php?title=File:PRMcreateAccount.png&amp;diff=68876</id>
		<title>File:PRMcreateAccount.png</title>
		<link rel="alternate" type="text/html" href="https://all.docs.genesys.com/index.php?title=File:PRMcreateAccount.png&amp;diff=68876"/>
		<updated>2020-10-15T18:18:27Z</updated>

		<summary type="html">&lt;p&gt;Vivian: Vivian uploaded a new version of File:PRMcreateAccount.png&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Vivian</name></author>
		
	</entry>
	<entry>
		<id>https://all.docs.genesys.com/index.php?title=File:PRMcreateAccount.png&amp;diff=68875</id>
		<title>File:PRMcreateAccount.png</title>
		<link rel="alternate" type="text/html" href="https://all.docs.genesys.com/index.php?title=File:PRMcreateAccount.png&amp;diff=68875"/>
		<updated>2020-10-15T18:17:51Z</updated>

		<summary type="html">&lt;p&gt;Vivian: Vivian uploaded a new version of File:PRMcreateAccount.png&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Vivian</name></author>
		
	</entry>
</feed>