" /> threshold script for agent not ready time - Genesys CTI User Forum

Author Topic: threshold script for agent not ready time  (Read 5060 times)

lastdance

  • Guest
threshold script for agent not ready time
« on: January 01, 1970, 12:00:00 AM »
Advertisement
hi guys i'm new at this hope you guys can help out with a script.
i would like to have my agent's name highlighted in red if their status is not ready/after call work for x number of minutes. how can i do this?

Mike

  • Guest
threshold script for agent not ready time
« Reply #1 on: January 01, 1970, 12:00:00 AM »
lastdance,

Here is a script that you can apply to CurrentAgentState. Simply change the stat value to the number of seconds that you want.

if Threshold.StatValue >= 240 then
Threshold.Result = true
end if

We have several scripts like this applied to CurrentAgentState to tell us when agents have been sitting in one state too long.

Marked as best answer by on Today at 10:45:34 AM

Mike

  • Guest
threshold script for agent not ready time
« Reply #2 on: January 01, 1970, 12:00:00 AM »
  • Undo Best Answer
  • Here is the script for the "Action" that will be applied to the previous script.

    CCPulseNotifier.SetColor( Color.Red )

    lastdance

    • Guest
    threshold script for agent not ready time
    « Reply #3 on: January 01, 1970, 12:00:00 AM »
    mike,

    can this be done on "objects tab"?

    i would like the agents name to be highlighted in red when their after call work reaches like 60secs. i tried the following script but ain't working.

    <Treshold>
    if StatAction.SDNAAfterCallWork >= 60 then
    StatAction.Result = true
    end if

    <Action>
    CCPulseNotifier.SetColor( Color.Red )

    pls advise. thx

    Mike

    • Guest
    threshold script for agent not ready time
    « Reply #4 on: January 01, 1970, 12:00:00 AM »
    Looks like your syntax might be off. Try this.

    if Threshold.StatValue = StatAction.SDNAAfterCallWork then
    Threshold.Result = true
    end if