Genesys CTI User Forum

Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: bounty on November 03, 2010, 09:36:56 AM

Title: Agent Time of login ?
Post by: bounty on November 03, 2010, 09:36:56 AM
Hi Guys,

Is there a way in CCPulse+ to display the time where the agent logged in the system and not the classical Total_Login_Time ?

[u]Example [/u] :

At 10:00 O'Clock, the supervisor can see :

Time of login "07:10:00"
Total_login_time : "02:50:00"

Thanks

Bounty
Title: Re: Agent Time of login ?
Post by: tony on November 03, 2010, 09:44:08 AM
I don't believe this is possible, in real time.  Perhaps if you associated a View with Historical Reporting, you could achieve this...

Also - if it's historical, you might take a look at the LOGIN Table Option, for the Reporting StatServer...

TT
Title: Re: Agent Time of login ?
Post by: bounty on November 03, 2010, 04:09:38 PM
After some search, I used to managed this using a formula that looks like this :

[code]
result.Duration=Calc();

function Calc(){
var n,nt,d,tt;
n = new Date();
var hou = n.getHours() * 3600
var min = n.getMinutes() * 60;
var sec = n.getSeconds();
// Nb secondes ecoulees ce jour
var nt = hou + min + sec;
// Temps de Login en secondes
tt = ccpulse.AGENTS.TpsDeLogin;
d = nt - tt;
return d;
[/code]

where "ccpulse.AGENTS.TpsDeLogin" is :

[code]
[CurrTime_LoggedIn]
Category=CurrentTime
Description=
Formula=
MainMask=LoggedIn
Objects=Agent, GroupAgents, GroupPlaces, Place
Subject=DNAction
[/code]

It seems to work, but I need to test more.
Title: Re: Agent Time of login ?
Post by: tony on November 03, 2010, 04:34:06 PM
That looks fair, to me.... I just hope your Agents don't log off/log on for breaks... ;)

TT
Title: Re: Agent Time of login ?
Post by: bounty on November 03, 2010, 04:37:27 PM
You are right but they don't ! They have a specific "NotReadyForNextCall" for every break...

:)
Title: Re: Agent Time of login ?
Post by: tony on November 03, 2010, 04:47:01 PM
:) lol
Title: Re: Agent Time of login ?
Post by: Anth on November 04, 2010, 09:06:07 AM
users will be users and do what they want :-)

Title: Re: Agent Time of login ?
Post by: sunbabu15 on November 08, 2010, 05:53:44 PM
Hi bounty,

Where exactly we need to mention the below formula to get it work.

Regards,