12-11-2011 07:24 PM - edited 03-14-2019 09:01 AM
Hi guys,
I'm trying to figure out if there's a way I can configure CUIC 8.5 with thresholds for duration spent in a particular agent state. To do this ideally you would need to construct a threshold which looks at 2 columns:
But since the thresholding doesn't let you do conditional formatting (for this example lets say we want AgentState go yellow if AgentState=Ready and duration > 30) I'm a little stuck here on a way to directly do this.
The only ways I can see how to do this is by either having a single column for the time in each state which only populates when the agent is in that state
ie in the SQL for the report definition you would define a column for current time in ready as:
Then you could create thresholds for each of the CurrTimeInStateX columns except this creates a bunch of columns in the report cluttering it up.
Or the only other option I could see would require you to hardcode in the thresholds to the stat itself and have a separate column to base the thresholds off ie have a "applythreshold" column and in the SQL of the report you have a big Case definition of the column like:
When 3 then Case
WHEN (DateDiff(ss,GETDATE(),DateTimeLastStateChange)>30 THEN 'Yes'
ELSE 'No' END)
ELSE 'No'
END
Then you apply thresholds to that applythreshold column based on if it's set to Yes or No but that is pretty convoluted and also the thresholds are hardcoded into the SQL.
Has anyone been able to successfully do this? I tend to come up against this a fair bit when replacing Avaya CMS since Avaya reporting the thresholds are built in to allow time in X state do Y.
Cheers,
Nathan
11-16-2012 04:13 AM
Hi Nathan
Did you manage to solve this? I've come up against the same issue.
Thanks
Brenda
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