07-22-2004 09:15 AM - edited 03-13-2019 10:26 PM
Is there a standard report that captures this information. IPCC Express 3.1(2)
07-22-2004 08:57 PM
Hi,
The Reason codes are stored in AgentStateDetail table in the "db_cra" database. Historical Reports doesn't show these reason codes. It is possible to generate customized reports by quering this table.
For more information on IPCC Express Historical Reporting(HR) check out the following URL:
Understanding HR
Cisco CRA HR User Guide
Cisco CRA Database Schema
Creating custom reports:
Regards
Yogi
07-22-2004 09:01 PM
Hi,
Currently the Agent can view the reason codes and there are no canned reports in CRS for Reason Codes. However, the "Numeric reason codes" are stored in AgentStateDetail table in the "db_cra" database. There are no historical reports showing
these reason codes, but you should be able to generate customized reports by querying on this table. This report
You may find the following links useful for IPCC Express Historical Reporting(HR):
Understanding HR
Cisco CRA HR User Guide
Cisco CRA Database Schema
Creating custom reports:
Regards
Venkat
07-23-2004 07:12 AM
You guys are great, and always so helpful. Thanks ... Dave
07-23-2004 09:48 PM
This data is available but will take special consideration to build a Custom Report.
The Agent State transitions are all in the DB_CRA DB in the AgentStateDetail table. The event transition and eventDateTime are stored there.
This is an excerpt from a note that I wrote regarding another customer that was pursuing the same thing. Take a look at this and at the Schema Doc and let me know if you have questions.
What I've been able to determine is that there are state transitions that are performed by the system that impact this data. For example every time an Agent goes RNA, they will get transitioned to Not Ready with No Reason Code.
Or
An Agent is Not Ready with a Reason Code of Lunch.
They receive an ICD Call by way of transfer from another agent on their ICD line. This case will transition them from Not Ready Lunch -> Reserved -> Not Ready No Reason Code.
The following is a matrix e-mail me at adignan@berbee.com for the matrixof Valid Transitions, along with some notes, that should allow you to properly report on this data.
This matrix represents the state transitions that are "legal". We can expect to see all transitions that begin with a 'Y'. If the transition shows YR, it means that it should show a Reason Code. If it starts with N we shouldn't see a Reason Code. There are several cases where a transition that is "legal" CAN have a Reason Code, but will NOT have one (YNR).
For example, we can assume that a transition from Reserved to Not Ready with no Reason Code means the Agent didn't answer an ICD call OR they received an ICD transfer.
The following example show a scenario and how best to look at the state times:
Agent is Ready
Hits Not Ready puts in Reason Code Lunch (YR) - Time 1
Gets ICD Call transferred to it, state goes Reserved (Y) - Time 2
Hangs Up , state goes to Not Ready (YNR) - Time 3
Agent hits Ready (Y) - Time 4
In this case, they could report the Agent state as:
Not Ready with a Reason Code of Lunch for the time from Time 1 to Time 2 Plus Time 3 to Time 4 (or they could do time 1 to Time 4).
NOTE: Any time that an Agent transitions to Logoff without a Reason Code, it indicates a system failure (eg. Agent Device went off-line/PC was shut down...), OR they X'd out of CAD when in Reserved.
Summary:
Any time we transition to a Not Ready with NO Reason Code, we must defer to the preceding Not Ready state with a valid Reason Code, unless the preceding state was Log In. This will allow the reporting to reflect the Agent input Reason Code for the amount of time they left themselves in that state, until they explicitly took themselves out by choice.
04-19-2005 06:28 AM
Hi,
I'm using Crystal Reports and I've been able to build a custom report showing each time an agent changes status and what the corresponding Reason Code is (if any).
However I'm trying to figure out how many minutes the agent spends in each status (Ready, Not Ready, etc.). I know Crystal Reports has a nice DateDiff function, but I can't figure out how to tell Crystal to give me the date diff between the current eventDateTime and the previous eventDateTime (for that agent).
Any ideas?
Thanks - Rob.
04-19-2005 10:15 AM
Probably the best way is to do a stored procedure in SQL Server and call that from the crystal reports. Faster and you can use all the date functions in sql server.
Also, there is lot of datediff examples if you do search in yahoo/google.
I think you can do a datediff(mm, date1, date2) in sql directly. Though I am not sure if it is mm or mi for the minutes.
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