cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1105
Views
0
Helpful
6
Replies

Not Ready reason codes - IPCC Express

davidkcampbell
Level 1
Level 1

Is there a standard report that captures this information. IPCC Express 3.1(2)

6 Replies 6

yogeswar
Level 4
Level 4

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

http://www.cisco.com/univercd/cc/td/doc/product/voice/sw_ap_to/apps_3_1/english/admn_app/hist_rep/index.htm

Cisco CRA HR User Guide

http://www.cisco.com/univercd/cc/td/doc/product/voice/sw_ap_to/apps_3_1/english/agents/hr_user/index.htm

Cisco CRA Database Schema

http://www.cisco.com/univercd/cc/td/doc/product/voice/sw_ap_to/apps_3_1/english/admn_app/schema/index.htm

Creating custom reports:

http://www.cisco.com/en/US/products/sw/custcosw/ps1846/products_programming_reference_guide09186a00801bbed0.html#1021938

Regards

Yogi

venkasub
Level 4
Level 4

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

http://www.cisco.com/univercd/cc/td/doc/product/voice/sw_ap_to/apps_3_1/english/admn_app/hist_rep/index.htm

Cisco CRA HR User Guide

http://www.cisco.com/univercd/cc/td/doc/product/voice/sw_ap_to/apps_3_1/english/agents/hr_user/index.htm

Cisco CRA Database Schema

http://www.cisco.com/univercd/cc/td/doc/product/voice/sw_ap_to/apps_3_1/english/admn_app/schema/index.htm

Creating custom reports:

http://www.cisco.com/en/US/products/sw/custcosw/ps1846/products_programming_reference_guide09186a00801bbed0.html#1021938

Regards

Venkat

You guys are great, and always so helpful. Thanks ... Dave

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.

webberr
Level 1
Level 1

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.

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.