Genesys CTI User Forum
Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: Dorian-Grim on January 07, 2017, 11:53:56 AM
-
Hi,
I would like to use the group of queues name inside a formula. For this example the prepaid_vqs...
See image
http://imgur.com/a/4AW5x
Thanks
-
And what's the problem..?
-
[quote author=Kubig link=topic=10065.msg45654#msg45654 date=1483954095]
And what's the problem..?
[/quote]
I don't know how Kubig...
-
I am coming to believe that it is not possible, since you can't use GetString inside a custom statistic, only number functions.
I so do not want to use filter for this one...
Anyone has any input on this?
-
where do you want to use this?
how do you want to use this?
why do you want to use this?
-
[quote author=Tambo link=topic=10065.msg45675#msg45675 date=1484144487]
where do you want to use this?
how do you want to use this?
why do you want to use this?
[/quote]
Where? inside a template, on a formula, in a variable preferably
How? return.Text = Object; // Object contains prepaid_vqs string
Why? I want to query sql with insert or update service level into Oracle using ADODB, directly with group of queues name associated
-
It seems impossible to achieve this, sadly...
-
so you're just talking about a normal group of queues then ??
if so create a new VQ called PrePaid_VQs etc
go to Deafault DN's tab in that object and then add in all of the VQs that you would like to group together under that name (prepaid $5, prepaid $10 etc) this will then give you all of the stats bundled up into a group.
this you can then query, report on as you would 1 single VQ.
is that what you're looking for?
-
You are over complicating it...
Group the VQs like Tambo suggested and your problem should be fixed :)
-
[quote author=Tambo link=topic=10065.msg45701#msg45701 date=1484571435]
so you're just talking about a normal group of queues then ??
if so create a new VQ called PrePaid_VQs etc
go to Deafault DN's tab in that object and then add in all of the VQs that you would like to group together under that name (prepaid $5, prepaid $10 etc) this will then give you all of the stats bundled up into a group.
this you can then query, report on as you would 1 single VQ.
is that what you're looking for?
[/quote]
I don't need the stats of the DNGroup, I need its name and use it inside jscript
[code]if (Object = "Prepaid_vqs") // etc......[/code]
-
Not possible
Enviado de meu E6633 usando Tapatalk
-
[quote author=cavagnaro link=topic=10065.msg45707#msg45707 date=1484576870]
Not possible
Enviado de meu E6633 usando Tapatalk
[/quote]
That's what I'm saying.
I had my hopes up high though...
This means that you can't use ANY available object type name inside jscript
:-\
-
[quote author=cavagnaro link=topic=10065.msg45707#msg45707 date=1484576870]
Not possible
Enviado de meu E6633 usando Tapatalk
[/quote]
Yes it is possible, using filters. I am applying filters to the DNGroups, to a certain statistic, for example total calls entered, and then I hardcode in jscript:
if (Total_Calls_Entered_1 > 1)
"prepaid_vq";
if (Total_Calls_Entered_2 > 1)
"private_vq";
...
etc.
Where Total_Calls_Entered_1 has a filter with PairExist("key","prepaid_vq"). Note that key is custom for each configuration, in my case it's k_requested_service, and prepaid_vq is the exact name of the DNGroup.
I don't like the way I got to this, cause hardcoding, programming wise, is against every best practice. Environments and platforms should make available the object names by default. At least platforms as big as freakin` genesys...
-
so you are using DNGroups then ??
-
[quote author=Tambo link=topic=10065.msg45768#msg45768 date=1485515137]
so you are using DNGroups then ??
[/quote]
Aren't DNGroups and group of queues basically the same thing? Adding my screenshot in this, there's not mistake, from my opinion.
Why the confusion?
-
Well two posts above you said you needed individually. You rejected the DN group idea...so...
Enviado de meu E6633 usando Tapatalk
-
[quote author=cavagnaro link=topic=10065.msg45773#msg45773 date=1485522810]
Well two posts above you said you needed individually. You rejected the DN group idea...so...
Enviado de meu E6633 usando Tapatalk
[/quote]
Looking at the screenshot, am I not already using DNGroups? Why would someone point me out to something I am already doing? It makes no sense.
Anyway, thanks very much for the help guys.
-
[/quote]
I don't need the stats of the DNGroup, I need its name and use it inside jscript
[code]if (Object = "Prepaid_vqs") // etc......[/code]
[/quote]
no confusion on my part
-
[quote author=Tambo link=topic=10065.msg45780#msg45780 date=1485532901]
[/quote]
I don't need the stats of the DNGroup, I need its name and use it inside jscript
[code]if (Object = "Prepaid_vqs") // etc......[/code]
[/quote]
no confusion on my part
[/quote]
Tambo, how can this serve my purpose when:
1. I am already doing what you said. (screenshot, right?)
2. the DNGroup stats, don't contain the DNGroup name
?
I believe this is getting nowhere.
-
The issue is that you can't get that value on CCPulse. That is why it is not possible to do what you ask for. Not because the DN type.
-
[quote author=cavagnaro link=topic=10065.msg45783#msg45783 date=1485543261]
The issue is that you can't get that value on CCPulse. That is why it is not possible to do what you ask for. Not because the DN type.
[/quote]
yes you can. i explained how a few posts back. it's similar to custom agent state.
-
[quote author=Dorian-Grim link=topic=10065.msg45784#msg45784 date=1485550393]
[quote author=cavagnaro link=topic=10065.msg45783#msg45783 date=1485543261]
The issue is that you can't get that value on CCPulse. That is why it is not possible to do what you ask for. Not because the DN type.
[/quote]
yes you can. i explained how a few posts back. it's similar to custom agent state.
[/quote]
Had to increase the "by using VBScript"...you can the way you did it, but as by using simple VBScript functions to get the DN name and Alias is not an option right now.
Your method does work and solves your issue, ugly in a developer eye but works fine on a user POV.
Cheers