" /> group of queues name inside template formula - Genesys CTI User Forum

Author Topic: group of queues name inside template formula  (Read 7154 times)

Offline Dorian-Grim

  • Newbie
  • *
  • Posts: 16
  • Karma: 1
group of queues name inside template formula
« on: January 07, 2017, 11:53:56 AM »
Advertisement
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

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2755
  • Karma: 44
Re: group of queues name inside template formula
« Reply #1 on: January 09, 2017, 09:28:15 AM »
And what's the problem..?

Offline Dorian-Grim

  • Newbie
  • *
  • Posts: 16
  • Karma: 1
Re: group of queues name inside template formula
« Reply #2 on: January 09, 2017, 09:29:52 AM »
[quote author=Kubig link=topic=10065.msg45654#msg45654 date=1483954095]
And what's the problem..?
[/quote]

I don't know how Kubig...

Offline Dorian-Grim

  • Newbie
  • *
  • Posts: 16
  • Karma: 1
Re: group of queues name inside template formula
« Reply #3 on: January 11, 2017, 11:37:08 AM »
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?

Offline Tambo

  • Sr. Member
  • ****
  • Posts: 456
  • Karma: 5
Re: group of queues name inside template formula
« Reply #4 on: January 11, 2017, 02:21:27 PM »
where do you want to use this?
how do you want to use this?
why do you want to use this?

Offline Dorian-Grim

  • Newbie
  • *
  • Posts: 16
  • Karma: 1
Re: group of queues name inside template formula
« Reply #5 on: January 11, 2017, 02:27:16 PM »
[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

Offline Dorian-Grim

  • Newbie
  • *
  • Posts: 16
  • Karma: 1
Re: group of queues name inside template formula
« Reply #6 on: January 15, 2017, 11:00:15 AM »
It seems impossible to achieve this, sadly...

Offline Tambo

  • Sr. Member
  • ****
  • Posts: 456
  • Karma: 5
Re: group of queues name inside template formula
« Reply #7 on: January 16, 2017, 12:57:15 PM »
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?

Offline szs5tim

  • Newbie
  • *
  • Posts: 46
  • Karma: 0
Re: group of queues name inside template formula
« Reply #8 on: January 16, 2017, 02:14:20 PM »
You are over complicating it...
Group the VQs like Tambo suggested and your problem should be fixed  :)

Offline Dorian-Grim

  • Newbie
  • *
  • Posts: 16
  • Karma: 1
Re: group of queues name inside template formula
« Reply #9 on: January 16, 2017, 02:14:50 PM »
[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]

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: group of queues name inside template formula
« Reply #10 on: January 16, 2017, 02:27:50 PM »
Not possible

Enviado de meu E6633 usando Tapatalk


Offline Dorian-Grim

  • Newbie
  • *
  • Posts: 16
  • Karma: 1
Re: group of queues name inside template formula
« Reply #11 on: January 16, 2017, 02:29:42 PM »
[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

:-\
« Last Edit: January 16, 2017, 02:45:30 PM by Dorian-Grim »

Offline Dorian-Grim

  • Newbie
  • *
  • Posts: 16
  • Karma: 1
Re: group of queues name inside template formula
« Reply #12 on: January 27, 2017, 10:53:06 AM »
[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...


Offline Tambo

  • Sr. Member
  • ****
  • Posts: 456
  • Karma: 5
Re: group of queues name inside template formula
« Reply #13 on: January 27, 2017, 11:05:37 AM »
so you are using DNGroups then ??

Offline Dorian-Grim

  • Newbie
  • *
  • Posts: 16
  • Karma: 1
Re: group of queues name inside template formula
« Reply #14 on: January 27, 2017, 12:05:02 PM »
[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?