Section II – Functional Modules > Statistic Interface > Functions         Bottom of Page
Genesys 8.1
SCXML Technical Reference
< Object Model            Action Elements >

Functions

_genesys.FMname.sData

This function returns the value of a statistic for a specified object. For example, this function can be used to get the number of interactions waiting in a queue (that is, number of callers ahead of this caller), so that it can be announced to the caller via an IVR application while waiting for a target.

value _genesys.FMname.sData(object, statistic)

Parameters:

Returns: value: NUMBER (FLOAT) — This is the current value of the statistic.

_genesys.FMname.getAvgData

This function calculates the specified statistic for all listed targets and returns the average value of this statistic.

value _genesys.FMname.getAvgData(objects, statistic)

Parameters:

Returns: value: NUMBER (FLOAT) — The result of the function is the average value for the requested statistic, based on the list of objects and their statistical values.

_genesys.FMname.getMinData

This function calculates the specified statistic for all listed targets and returns the minimum value of this statistic.

value _genesys.FMname.getMinData(objects, statistic)

Parameters:

Returns: value: NUMBER (FLOAT) — The result of the function is the minimum value for the requested statistic, based on the list of objects and their statistical values.

_genesys.FMname.getMaxData

This function calculates the specified statistic for all listed targets and returns the maximum value of this statistic.

value _genesys.FMname.getMaxData(objects, statistic)

Parameters:

Returns: value: NUMBER (FLOAT) — The result of the function is the maximum value for the requested statistic, based on the list of objects and their statistical values.




Section II – Functional Modules > Statistic Interface > Functions         Top of Page
Genesys 8.1
SCXML Technical Reference
< Object Model            Action Elements >