(Update with the copy of version: 8.5.1draft)
m (1 révision importée)
Ligne 1 : Ligne 1 :
=Report Formulas=
+
= Rapport formules =
If you decide that one of your reports needs a different or additional statistic, you can edit the report’s template to make that happen. You can accomplish this by adding a formula to the report template that retrieves the statistic or key performance indicator (KPI) you want.  
+
Si vous décidez que l’un de vos rapports a besoin d’une statistique différente ou supplémentaire, vous pouvez modifier le modèle du rapport pour que cela se produise. Vous pouvez accomplir cela en ajoutant une formule pour le modèle de rapport qui récupère la statistique ou Key Performance Indicator (KPI) souhaitée.  
  
Since you cannot change the standard templates provided, if you want to change one of the standard reports, just create a clone of the template and make changes in the new template.
+
Étant donné que vous ne pouvez pas modifier les gabarits standards fournis, si vous souhaitez modifier un des rapports standards, il suffit de créer un clone du modèle et apporter des modifications dans le nouveau modèle.
  
Who can create these statistics? If you can create and edit Genesys Pulse templates, you can use formulas.
+
Qui peut créer ces statistiques ? Si vous pouvez créer et modifier les modèles de Genesys Pulse, vous pouvez utiliser des formules.
  
 
__TOC__
 
__TOC__
  
{{NoteFormat|If you already know how to use the formulas, you can use [[RTRFunctions|the function library]] to help you create your formulas.}}
+
{{NoteFormat|Si vous savez déjà comment utiliser les formules, vous pouvez utiliser [[RTRFunctions|la bibliothèque de fonctions]] pour vous aider à créer vos formules.}}
  
 
{{CloudStep_Stack
 
{{CloudStep_Stack
|title=Add a formula
+
|title=Ajouter une formule
|text=From the statistic detail pane while editing a widget or template, you can create or customize statistics by creating a formula.  
+
|text=Dans le volet de détail statistique lors de l’édition d’un modèle ou un widget, vous pouvez créer ou personnaliser des statistiques en créant une formule.  
  
The formula uses a javascript-based syntax, which lets you calculate expressions with values given by other statistic and use functions provided by Genesys for more specific calculations. For example, you can calculate the ratio of the calls abandoned to the calls offered in your queue to measure the percentage of abandoned calls in your queue.
+
La formule utilise une syntaxe basée sur javascript, qui permet de calculer des expressions avec les valeurs données par les autres fonctions de statistique et d’utilisation fournies par Genesys pour des calculs plus précis. Par exemple, vous pouvez calculer le rapport entre les appels abandonnés aux appels offerts dans votre file d’attente pour mesurer le pourcentage d’appels abandonnés dans votre file d’attente.
 
|media1=Pulse_85105_Formulas2.png
 
|media1=Pulse_85105_Formulas2.png
 
}}
 
}}
Ligne 20 : Ligne 20 :
  
 
{{CloudStep_Stack
 
{{CloudStep_Stack
|title=Display percentages
+
|title=Afficher les pourcentages
|text=Let's say you want to display percentages based on two metrics. Just copy the following example using the statistics you want.  
+
|text=Disons que vous voulez afficher les pourcentages sont fondés sur deux paramètres. Il suffit de copier l’exemple suivant en utilisant les statistiques souhaitées.  
  
In this example, we want to retrieve the percentage of outbound calls out of the total of both inbound and outbound calls. The formula can access any statistic within a template with the following syntax: <tt>Data.''Statistic-Alias''.Value</tt>. The formula must return a valid <tt>Result</tt> value.  
+
Dans cet exemple, nous voulons récupérer le pourcentage des appels sortants sur un total d’appels entrants et sortants. La formule peut accéder à n’importe quelle statistique dans un modèle avec la syntaxe suivante : <tt>Données.''Statistique-Alias''. Valeur</tt>. La formule doit retourner un valide <tt>Résultat</tt> valeur.  
  
In the following formula, we assume the outbound calls are defined by a statistic alias <tt>Outbound</tt> and the inbound calls are <tt>Inbound</tt>.
+
Dans la formule suivante, nous supposons que les appels sortants sont définis par un alias de statistique <tt>Sortants</tt> et les appels entrants sont <tt>Trafic entrant</tt>.
  
'''Formula: Calculate a Percentage'''
+
'''Formule : Calculer un pourcentage'''
 
<div style="line-height:normal;border:1px dashed #2f6fab;background-color: #F9F9F9;color:black;padding:1em;margin:1em 0;">
 
<div style="line-height:normal;border:1px dashed #2f6fab;background-color: #F9F9F9;color:black;padding:1em;margin:1em 0;">
<source enclose="div" lang="javascript">if ((Data.Outbound.Value + Data.Inbound.Value) != 0) 
+
<source enclose="div" lang="javascript">if ((Data.Outbound.Value + Data.Inbound.Value) != 0)  
Result = 100 * Data.Outbound.Value / (Data.Outbound.Value + Data.Inbound.Value); 
+
Result = 100 * Data.Outbound.Value / (Data.Outbound.Value + Data.Inbound.Value);  
 
else Result = 0;
 
else Result = 0;
 
</source></div>
 
</source></div>
Ligne 37 : Ligne 37 :
  
 
{{CloudStep_Stack
 
{{CloudStep_Stack
|title=Display Agent Status KPIs
+
|title=Afficher statut Agent
|text=Let's say you want to display KPIs for agent status. Just use the <tt>Current_Status</tt> statistic.  
+
|text=Disons que vous souhaitez afficher des indicateurs de performance clés pour l’état de l’agent. Il suffit d’utiliser le <tt>Current_Status</tt> statistique.  
  
<toggledisplay linkstyle font-size:larger showtext="[+] How the Current_Status statistic is defined." hidetext="[-] How the Current_Status statistic is defined.">{{ToggleTextWrapper}}
+
<toggledisplay linkstyle font-size:larger showtext="[+] Comment la statistique Current_Status est définie. "hidetext="[-] Comment la statistique Current_Status est définie.">{{ToggleTextWrapper}}
  
The <tt>Current_Status</tt> statistic is defined by Stat Server options properties. The statistic type <tt>ExtendedCurrentStatus</tt> returns a specific object that can be further analyzed to provide only the Duration of the object.
+
Le <tt>Current_Status</tt> statistique est défini par les propriétés d’options de Stat Server. Le type de statistique <tt>ExtendedCurrentStatus</tt> retourne un objet qui peut être davantage analysé pour fournir seulement la durée de l’objet.
  
 
  '''[ExtendedCurrentStatus]'''<br/>Category=CurrentState<br/>MainMask=*<br/>Objects=Agent<br/>Subject=DNAction
 
  '''[ExtendedCurrentStatus]'''<br/>Category=CurrentState<br/>MainMask=*<br/>Objects=Agent<br/>Subject=DNAction
 
</toggledisplay>
 
</toggledisplay>
  
You can use formulas to find the information you need:
+
Vous pouvez utiliser des formules pour trouver les informations dont vous avez besoin :
  
<toggledisplay linkstyle font-size:larger showtext="[+] Show agent time in current state" hidetext="[-] Show agent time in current state">{{ToggleTextWrapper}}
+
<toggledisplay linkstyle font-size:larger showtext="[+] Afficher le temps agent dans l’état actuel" hidetext="[-] Afficher le temps agent dans l’état actuel">{{ToggleTextWrapper}}
You can display the agent status duration using the <tt>Current_Status</tt> statistic.
+
Vous pouvez afficher la durée de l’État agent à l’aide du <tt>Current_Status</tt> statistique.
  
'''Formula: Get Status Duration'''
+
'''Formule : Obtenir la durée de l’État'''
 
<div style="line-height:normal;border:1px dashed #2f6fab;background-color: #F9F9F9;color:black;padding:1em;margin:1em 0;">
 
<div style="line-height:normal;border:1px dashed #2f6fab;background-color: #F9F9F9;color:black;padding:1em;margin:1em 0;">
 
<source enclose="div" lang="javascript">Result = G.GetStatusDuration(Data.Current_Status.Value);</source></div>
 
<source enclose="div" lang="javascript">Result = G.GetStatusDuration(Data.Current_Status.Value);</source></div>
Ligne 58 : Ligne 58 :
  
 
<p>
 
<p>
<toggledisplay linkstyle font-size:larger showtext="[+] Show the Reason Code selected by the agent" hidetext="[-] Show the Reason Code selected by the agent">{{ToggleTextWrapper}}
+
<toggledisplay linkstyle font-size:larger showtext="[+] Afficher le Code de motif choisi par l’agent" hidetext="[-] Afficher le Code de motif choisi par l’agent">{{ToggleTextWrapper}}
You can display the reason code for the agent status.
+
Vous pouvez afficher le code de motif de l’état de l’agent.
  
'''Formula: Get Reason Code'''
+
'''Formule : Obtenir le Code de motif'''
  
 
<div style="line-height:normal;border:1px dashed #2f6fab;background-color: #F9F9F9;color:black;padding:1em;margin:1em 0;"><source enclose="div" lang="javascript">Result = G.GetReasonCodes(Data.Current_Status.Value);</source></div>
 
<div style="line-height:normal;border:1px dashed #2f6fab;background-color: #F9F9F9;color:black;padding:1em;margin:1em 0;"><source enclose="div" lang="javascript">Result = G.GetReasonCodes(Data.Current_Status.Value);</source></div>
  
If you want to display more user data in addition to the Reason Code, you need to enable the Additional Data property (User Data) of the statistic and apply a formula to filter only the Reason Code from the resulting Current_Status, which contains both the User Data and Reason code.
+
Si vous souhaitez afficher davantage de données utilisateur en plus du Code de la raison, vous devez activer la propriété des données supplémentaires (données utilisateur) de la statistique et appliquer une formule pour filtrer uniquement le Code de motif de la Current_Status qui en résulte, qui contient les données de l’utilisateur et le code de raison.
  
'''Formula: Filter only Reason Code'''
+
'''Formule : Filtre seul Code de motif'''
 
<div style="line-height:normal;border:1px dashed #2f6fab;background-color: #F9F9F9;color:black;padding:1em;margin:1em 0;">
 
<div style="line-height:normal;border:1px dashed #2f6fab;background-color: #F9F9F9;color:black;padding:1em;margin:1em 0;">
 
<source enclose="div" lang="javascript">var res = G.GetReasonCodes(Data.Current_Status.Value);
 
<source enclose="div" lang="javascript">var res = G.GetReasonCodes(Data.Current_Status.Value);
Ligne 83 : Ligne 83 :
  
 
<p>
 
<p>
<toggledisplay linkstyle font-size:larger showtext="[+] Show current agent state by media type" hidetext="[-] Show current agent state by media type">{{ToggleTextWrapper}}
+
<toggledisplay linkstyle font-size:larger showtext="[+] Montrer l’état actuel d’agent par type de média" hidetext="[-] Montrer l’état actuel d’agent par type de média">{{ToggleTextWrapper}}
You can display the current agent state by media type. 
+
Vous pouvez afficher l’état actuel d’agent par type de média.  
  
'''Formula - Get agent state by media type'''
+
'''Formule - État agent Get par type de média'''
 
<div style="line-height:normal;border:1px dashed #2f6fab;background-color: #F9F9F9;color:black;padding:1em;margin:1em 0;">
 
<div style="line-height:normal;border:1px dashed #2f6fab;background-color: #F9F9F9;color:black;padding:1em;margin:1em 0;">
 
<source enclose="div" lang="javascript">Result = G.GetAgentNonVoiceStatus(Data.Current_Status.Value, 'email');</source></div>
 
<source enclose="div" lang="javascript">Result = G.GetAgentNonVoiceStatus(Data.Current_Status.Value, 'email');</source></div>
Ligne 94 : Ligne 94 :
 
}}
 
}}
 
{{CloudStep_Stack
 
{{CloudStep_Stack
|title=Display interaction properties
+
|title=Afficher les propriétés d’interaction
|text=Let's say you want to display interaction properties including flow segmentation, ANI, and DNIS. You can use formulas to find the information you need:  
+
|text=Disons que vous voulez afficher les propriétés d’interaction dont DNIS, ANI et segmentation des flux. Vous pouvez utiliser des formules pour trouver les informations dont vous avez besoin :  
 
<p>
 
<p>
<toggledisplay linkstyle font-size:larger showtext="[+] Show the customer segment of the interaction" hidetext="[-] Show the customer segment of the interaction">{{ToggleTextWrapper}}
+
<toggledisplay linkstyle font-size:larger showtext="[+] Montrer le segment de la clientèle de l’interaction" hidetext="[-] Montrer le segment de la clientèle de l’interaction">{{ToggleTextWrapper}}
You can display the customer segment defined by the <tt>CustomerSegment </tt> key-value pair of the interaction by using the following formula.  
+
Vous pouvez afficher le segment de clientèle définis par le <tt>CustomerSegment </tt> paire clé / valeur de l’interaction à l’aide de la formule suivante.  
  
'''Formula: Get Customer Segment'''
+
'''Formule : Obtenir le Segment de clientèle'''
 
<div style="line-height:normal;border:1px dashed #2f6fab;background-color: #F9F9F9;color:black;padding:1em;margin:1em 0;">
 
<div style="line-height:normal;border:1px dashed #2f6fab;background-color: #F9F9F9;color:black;padding:1em;margin:1em 0;">
 
<source  enclose="div" lang="javascript">Result = G.GetCustomerSegment(Data.Current_Status.Value);</source></div>
 
<source  enclose="div" lang="javascript">Result = G.GetCustomerSegment(Data.Current_Status.Value);</source></div>
Ligne 106 : Ligne 106 :
 
</p>
 
</p>
 
<p>
 
<p>
<toggledisplay linkstyle font-size:larger showtext="[+] Show the ANI of the customer" hidetext="[-] Show the ANI of the customer">
+
<toggledisplay linkstyle font-size:larger showtext="[+] Voir la l’ANI du client" hidetext="[-] Voir la l’ANI du client">
 
{{ToggleTextWrapper}}
 
{{ToggleTextWrapper}}
You can display the ANI of the customer by using the following formula.
+
Vous pouvez afficher l’ANI du client en utilisant la formule suivante.
  
'''Formula: Get ANI'''
+
'''Formule : Obtenir des ANI'''
 
<div style="line-height:normal;border:1px dashed #2f6fab;background-color: #F9F9F9;color:black;padding:1em;margin:1em 0;">
 
<div style="line-height:normal;border:1px dashed #2f6fab;background-color: #F9F9F9;color:black;padding:1em;margin:1em 0;">
 
<source enclose="div" lang="javascript">[Result = G.GetANI(Data.Current_Status.Value);</source></div>
 
<source enclose="div" lang="javascript">[Result = G.GetANI(Data.Current_Status.Value);</source></div>
Ligne 116 : Ligne 116 :
 
</p>
 
</p>
 
<p>
 
<p>
<toggledisplay linkstyle font-size:larger showtext="[+] Show the DNIS of the customer" hidetext="[-] Show the DNIS of the customer">{{ToggleTextWrapper}}
+
<toggledisplay linkstyle font-size:larger showtext="[+] Spectacle le DNIS du client" hidetext="[-] Spectacle le DNIS du client">{{ToggleTextWrapper}}
You can display the DNIS of the customer by using the following formula.
+
Vous pouvez afficher le DNIS du client en utilisant la formule suivante.
  
'''Formula: Get DNIS'''
+
'''Formule : Téléchargez DNIS'''
 
<div style="line-height:normal;border:1px dashed #2f6fab;background-color: #F9F9F9;color:black;padding:1em;margin:1em 0;">
 
<div style="line-height:normal;border:1px dashed #2f6fab;background-color: #F9F9F9;color:black;padding:1em;margin:1em 0;">
 
<source enclose="div" lang="javascript">Result = G.GetDNIS(Data.Current_Status.Value);</source></div>
 
<source enclose="div" lang="javascript">Result = G.GetDNIS(Data.Current_Status.Value);</source></div>
Ligne 127 : Ligne 127 :
 
}}
 
}}
  
==What do I do next?==
+
==Que dois-je faire ensuite ?==
You might want to learn more about:
+
Vous pouvez en savoir plus sur :
* [[RTRTemplates|Widget templates]]
+
* [[RTRTemplates|Modèles de widget]]
* [[RTRStatProperties|Statistic properties]]
+
* [[RTRStatProperties|Propriétés statistiques]]
* [[RTRFunctions|Template function library]]
+
* [[RTRFunctions|Bibliothèque de fonctions de modèle]]
  
 
[[Category:V:EZP:DRAFT]]
 
[[Category:V:EZP:DRAFT]]

Version du juillet 11, 2017 à 17:35

Rapport formules

Si vous décidez que l’un de vos rapports a besoin d’une statistique différente ou supplémentaire, vous pouvez modifier le modèle du rapport pour que cela se produise. Vous pouvez accomplir cela en ajoutant une formule pour le modèle de rapport qui récupère la statistique ou Key Performance Indicator (KPI) souhaitée.

Étant donné que vous ne pouvez pas modifier les gabarits standards fournis, si vous souhaitez modifier un des rapports standards, il suffit de créer un clone du modèle et apporter des modifications dans le nouveau modèle.

Qui peut créer ces statistiques ? Si vous pouvez créer et modifier les modèles de Genesys Pulse, vous pouvez utiliser des formules.

Important
Si vous savez déjà comment utiliser les formules, vous pouvez utiliser la bibliothèque de fonctions pour vous aider à créer vos formules.

Ajouter une formule

1

Dans le volet de détail statistique lors de l’édition d’un modèle ou un widget, vous pouvez créer ou personnaliser des statistiques en créant une formule.

La formule utilise une syntaxe basée sur javascript, qui permet de calculer des expressions avec les valeurs données par les autres fonctions de statistique et d’utilisation fournies par Genesys pour des calculs plus précis. Par exemple, vous pouvez calculer le rapport entre les appels abandonnés aux appels offerts dans votre file d’attente pour mesurer le pourcentage d’appels abandonnés dans votre file d’attente.


Afficher les pourcentages

1

Disons que vous voulez afficher les pourcentages sont fondés sur deux paramètres. Il suffit de copier l’exemple suivant en utilisant les statistiques souhaitées.

Dans cet exemple, nous voulons récupérer le pourcentage des appels sortants sur un total d’appels entrants et sortants. La formule peut accéder à n’importe quelle statistique dans un modèle avec la syntaxe suivante : Données.Statistique-Alias. Valeur. La formule doit retourner un valide Résultat valeur.

Dans la formule suivante, nous supposons que les appels sortants sont définis par un alias de statistique Sortants et les appels entrants sont Trafic entrant.

Formule : Calculer un pourcentage

if ((Data.Outbound.Value + Data.Inbound.Value) != 0) 
Result = 100 * Data.Outbound.Value / (Data.Outbound.Value + Data.Inbound.Value); 
else Result = 0;

Afficher statut Agent

1

Disons que vous souhaitez afficher des indicateurs de performance clés pour l’état de l’agent. Il suffit d’utiliser le Current_Status statistique.

"[+]
Comments or questions about this documentation? Contact us for support!