contextStatusChanged (Status Changed)

This event fires in a context when the context changes its status (also known as state). For example, in a Device context this event fires when the Device is connected and its context changes its status from "Offline" to "Online".

The format for this event defines two fields:

  • status: an Integer number indicating the new state for the context
  • comment: a String containing a human-readable description for the new state

This event is defined in all Iotellect Server contexts that have different states. It is persistent, i.e. stored in event history.

Event Name

contextStatusChanged

Permissions:

Accessible at context's permission level

Expiration Period:

1 week for Group Context

1 week for Alert Context

1 day for Tracker Context

Non-persistent in all other cases

Records:

1

Record Format:

Field Name

Field Type

Notes

status

Integer

New context status.

comment

String

Description of current context status.

oldStatus

Integer

Previous context status.

Was this page helpful?