Genesys CTI User Forum

Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: NCSC_User on July 09, 2007, 03:57:36 PM

Title: Threshold formula
Post by: NCSC_User on July 09, 2007, 03:57:36 PM
What all can be done in to this basic threshold formula to test for something to be true or not?

if Threshold.StatValue = <Value for comparison here> then
  Threshold.Result = true
end if

For example can this if / end if statement be modified to say something closer to a if / then / else statement?

Second can objects be added and used in a formula of any type?  For example i'd like the statement to be true when my calls abandoned is > 10% of my calls offered.
Title: Re: Threshold formula
Post by: cavagnaro on July 09, 2007, 04:04:59 PM
That function returns true if a stat complies the condition.
The true or false depends on you and the action you apply it.
It's VBA, so yes, else if usable, but as input parameters are only one value (stat) will return true or false. What you can do is do a :

msgbox "Not valid"