" /> Stat defined in IRD doesn't reset at midnight? - Genesys CTI User Forum

Author Topic: Stat defined in IRD doesn't reset at midnight?  (Read 4868 times)

Offline BenTaylor

  • Full Member
  • ***
  • Posts: 107
  • Karma: 4
Stat defined in IRD doesn't reset at midnight?
« on: August 06, 2010, 10:53:22 AM »
Advertisement
I've got a custom stat defined in IRD based on ServiceFactor1 with interval = last 20 calls.

It doesn't seem to reset back to 0 at midnight.

Any idea how I can make it do this?

Cheers

Offline Fra

  • Hero Member
  • *****
  • Posts: 856
  • Karma: -3
Re: Stat defined in IRD doesn't reset at midnight?
« Reply #1 on: August 06, 2010, 12:51:36 PM »
The stat needs to be defined in Stat Server though - check there.

Fra

Offline BenTaylor

  • Full Member
  • ***
  • Posts: 107
  • Karma: 4
Re: Stat defined in IRD doesn't reset at midnight?
« Reply #2 on: August 09, 2010, 03:58:24 PM »
As far as I know custom statistics defined in IRD don't need to be defined in StatServer.

I'm guessing this must be because of the 'Selection' TimeProfile.




Offline Fra

  • Hero Member
  • *****
  • Posts: 856
  • Karma: -3
Re: Stat defined in IRD doesn't reset at midnight?
« Reply #3 on: August 10, 2010, 08:24:03 AM »
Unfortunately it's a wrong, common guess :)
Defining stats inIRD just helps re-use them easily when you build strategies (similar to what happens with InteractionData) , however, URS will query Stat Server to retrieve them. If the metric has not been created in Stat Server, it will not be able to define it on the fly and return any value.

Fra

Offline BenTaylor

  • Full Member
  • ***
  • Posts: 107
  • Karma: 4
Re: Stat defined in IRD doesn't reset at midnight?
« Reply #4 on: August 10, 2010, 05:04:25 PM »
It is neither wrong nor a guess.

If you check the User-Defined Statistics section of the Universal Routing 7.6 Reference Manual you'll find no mention of needing to create stats in StatServer.



Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: Stat defined in IRD doesn't reset at midnight?
« Reply #5 on: August 10, 2010, 05:39:40 PM »
And where does it says that you don't need to create them on StatServer? So it is an assumption of a bad documentation? Maybe. But if you see how Genesys works you will understand that URS doesn't collect Stats, it only asks for them to StatServer, so StatServer must know what your URS is talking about.

Offline René

  • Administrator
  • Hero Member
  • *****
  • Posts: 1832
  • Karma: 62
Re: Stat defined in IRD doesn't reset at midnight?
« Reply #6 on: August 11, 2010, 08:02:10 AM »
Hi guys,

There is no need to define IRD statistics again in StatServer options. StatServer protocol allows its clients to either subscribe for existing statistic or defined a new one and subscribe for it. So for statistics defined in IRD URS sends request to open new statistic based on the parameters configured using IRD in first step then it subscribes for it.

Of course, using SData function with statistic name that isn't defined in IRD requires this statistic to be defined in StatServer's options.

R.

Offline Fra

  • Hero Member
  • *****
  • Posts: 856
  • Karma: -3
Re: Stat defined in IRD doesn't reset at midnight?
« Reply #7 on: August 11, 2010, 10:46:18 AM »
Ren,

yes, however (it's an old SR, but it should still be valid):

http://solutionsearch.genesyslab.com/selfservice/savedItemsWidget.do?command=viewdoc&externalId=120216&sliceId=&url=

Fra

Offline BenTaylor

  • Full Member
  • ***
  • Posts: 107
  • Karma: 4
Re: Stat defined in IRD doesn't reset at midnight?
« Reply #8 on: August 11, 2010, 11:48:51 AM »
Now we've established that you can create a custom stat in IRD without having to define it in the StatServer options...

Does anyone know if its possible to make a stat with a 'Selection' type TimeProfile reset at midnight?

Offline René

  • Administrator
  • Hero Member
  • *****
  • Posts: 1832
  • Karma: 62
Re: Stat defined in IRD doesn't reset at midnight?
« Reply #9 on: August 11, 2010, 01:35:48 PM »
Fra,
I read the SR and it says the same I wrote in my previous post... :)

Ben,
I'm not aware of any way allowing you to reset sliding interval at midnight. Why do you need to reset it?

R.

Offline BenTaylor

  • Full Member
  • ***
  • Posts: 107
  • Karma: 4
Re: Stat defined in IRD doesn't reset at midnight?
« Reply #10 on: August 11, 2010, 03:19:24 PM »
Using ServiceFactor1 based on last 20 calls - as the contact centre isn't 24hr the ServiceFactor displayed in the morning is still that of the previous evening.

I can get around it by 'adjusting' the value when there are less than 20 calls entered on the VQ, but it would be nice if I didn't have to.


Offline René

  • Administrator
  • Hero Member
  • *****
  • Posts: 1832
  • Karma: 62
Re: Stat defined in IRD doesn't reset at midnight?
« Reply #11 on: August 16, 2010, 03:49:18 PM »
Hi Ben,

Unfortunately, you would need to use mentioned workaround as I'm not aware of any way to reset the statistic at midnight.

R.