" /> Threshold formula - Genesys CTI User Forum

Author Topic: Threshold formula  (Read 2839 times)

Offline NCSC_User

  • Newbie
  • *
  • Posts: 21
  • Karma: 0
Threshold formula
« on: July 09, 2007, 03:57:36 PM »
Advertisement
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.

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: Threshold formula
« Reply #1 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"