UCCX Script :: Get Reporting stats

Version 1
    This document was generated from CDN thread

    Created by: Ravi Shekhar on 10-09-2013 06:17:48 AM
    i All, I
    have a few questions regarding the "Get Reporting stats". The values
    like Exp waiting time, Avg hold duration, current wait time. Where can I
    find the formula for this? Will this parameter work if no agent is
    logged in? lastly can I add these any arbitary wait duration in the
    script if the system cannot calculate ( if no agent are logged in) ?

    Subject: RE: UCCX Script :: Get Reporting stats
    Replied by: Steven Pawlak on 10-09-2013 09:12:41 AM
    Ravi, 

    The exact calculation for Expected Wait Time is known to cisco and not documented. You might be able to find a post that details it from a TAC engineer, but it is not published in any Cisco doc (like Scripting Vol 2) that I know of. 

    As for some of the others, those are real time stats of either the agent or the CSQ. The same as you would see in CAD or CSD. 

    You should be checking to see if agents are logged in to the CSQ first, then offering voicemail or something else, if there are none logged in.

    If you still need to play an arbitrary time, you would simpy use a Set step to write this value to the variable that the Get Reporting Statistics step should have written to. There is no way to "write to the system" so that it will output what you want it to. 

    Subject: RE: UCCX Script :: Get Reporting stats
    Replied by: Steven McGoff on 10-09-2013 10:38:59 AM
    Try this:
    https://supportforums.cisco.com/message/398471#398471

    Subject: RE: UCCX Script :: Get Reporting stats
    Replied by: Ravi Shekhar on 11-09-2013 12:34:55 AM
    Thanks guys got waht i was looking for.