01-21-2007 05:05 AM - edited 03-14-2019 12:27 AM
exceeding time issue in web view reports
We are facing exceeding time issue in web view reports regarding log on duration of Agents.
The problem is that some times when we generate web view report of a specific time e.g. I want to view 8 hours report but it shows more than 8 hour log on time of some agents , Why we are getting more than 8 hours log on time while we are selecting 8 hours.
Initially we were getting half hour difference in our duplex web view reports but after implementing QoS on wan side the issue seems to be resolved but we are still monitoring the system
02-21-2007 10:18 PM
are there any updates?
02-22-2007 09:46 AM
Is the report the log off report?
If so then what you are getting is everyone who logged off in your timeframe even if they logged in before the start time and logged out near the end you could easily have 8+ hours of log on time.
Someone could even log out withing the first hour and still have 8+hours of login duration.
02-22-2007 02:34 PM
what i dont understand is that when i am querying 8 hours report why is it showing me more than 8 hour log on duration and it happends to some of the agents and not all of the agents on the shift, and it also shows the same error on side B as well which is our other side, i have attached a screenshot for your assistance.
03-15-2007 12:24 PM
Hi there,
what is the code of this report/template?
03-15-2007 12:51 PM
Open a TAC Case.
03-15-2007 02:39 PM
Don't bother with TAC, they will not help you with this - I tried to ask a similar question once and they told me they are not supposed to solve such "logical" problems.
Please provide me with the report template code and I will take a look at the source.
03-16-2007 09:33 PM
03-18-2007 07:30 AM
Hello,
I did a sort of a research, well, it is not going to be a piece of cake. Anyway, let's see, what the docs say about this particular column:
agtper26 report - WebView online help:
Agent State Times: Log On Duration
The total time during the interval the agent was logged in, measured in HH:MM:SS (hours, minutes, seconds) format.
Derived from: Agent_Skill_Group_Half_Hour.LoggedOnTimeToHalf
Hmm, let's see, what is the Agent_Skill_Group_Half_Hour.LoggedOnTimeToHalf is about. This is what I found in the db schema help:
Agent_Skill_Group_Half_Hour.LoggedOnTimeToHalf
Total time, in seconds, an agent associated with this skill group was logged on during the half-hour interval. This value is based on the following:
HoldTimeToHalf
LoggedOnTimeToHalf
TalkInTimeToHalf
TalkOutTimeToHalf
TalkOtherTimeToHalf
AvailTimeToHalf
NotReadyTimeToHalf
WorkReadyTimeToHalf
WorkNotReadyTimeToHalf
BusyOtherTimeToHalf
ReservedStateTimeToHalf
TalkAutoOutTimeToHalf
TalkPreviewTimeToHalf
TalkReservedTimeToHalf
This field is applicable for ICM, IPCC Enterprise and Outbound Option.
Oops. Anyway, let's take a look into the pbl file.
LoggedOnTime = MAX(ISNULL(AgentHalfHour.LoggedOnTime, 0)),
Well, what is AgentHalfHour? And why do we need the MAX value? Or, is it just a trick?
Oh, yes. If we read on the statement, it says
LoggedOnTime = SUM(ISNULL(AHH.LoggedOnTimeToHalf,0)),
and, of course, AHH is just the alias of
FROM Agent_Half_Hour AHH
and AgentHalfHour
is just a table joined in here.
To sum it up, this SELECT just sums up the seconds found in the Agent_Half_Hour table for that particular agent and presents it a nice format.
Don't ask me why it reports 8:30 as logged on time, but I am 99.9995 percent sure there are better ways to get information about logon duration.
From the Agent_Logout, Agent_Event_Detail or the Agent_State_Trace tables, perhaps. Or,
The Agent_Event_Detail is usually turned on (check at PG Explorer), the Agent_State_Trace is usually turned off (because it generates a lots of data, check at Agent Explorer).
If you don't need anything fancy, just the logon duration time, just double check whether either setting is turned on, and if yes, we can write a nice and neat SQL script that selects that.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide