Section II – Functional Modules > Statistic Interface > Events Bottom of Page
| Genesys 8.0 SCXML Technical Reference
< Action Elements

## Events

The event namespace convention is statistic.xxxx.

The following are the statistic action result events:

Event | Attributes | Description
--- | --- | ---
statistic.subscribe.done |  | This event indicates the success of the request and that the subscription has been activated for this session.
requestid | This is the ID associated with the request.
error.statistic.subscribe |  | This indicates that an abnormal condition occurred while trying to perform the request. This event will be sent as a result of a timeout of the request as well as due to problems with the request or interaction itself.
requestid | This is the ID associated with the request.
error | This is the type of error that occurred: Request Invalid Subscription Already Active
description | This is a more detailed description of the error.
statistic.unsubscribe.done |  | This event indicates the success of the request and that the subscription has been terminated for this session.
requestid | This is the ID associated with the request.
error.statistic.unsubscribe |  | This indicates that an abnormal condition occurred while trying to perform the request. This event will be sent as a result of a timeout of the request as well as due to problems with the request or interaction itself.
requestid | This is the ID associated with the request.
error | This is the type of error that occurred: Request Invalid
description | This is a more detailed description of the error.

The following are the stat asynchronous events:

Event | Attributes | Description
--- | --- | ---
statistic.update |  | This provides the update value of the statistic.
object | This is the name of the object that the statistic is associated with. (string)
statistic | This is the name of statistic. (string)
value | This is a floating point number which represent the updated value of the statistic that was subscribed to.

Section II – Functional Modules > Statistic Interface > Events Top of Page
| Genesys 8.0 SCXML Technical Reference
< Action Elements