connection.session.change
event
The connection session change event is triggered when the connection's session has changed.
Form
Parameters
Name | Type | Required | Description |
---|---|---|---|
State | String | Yes | Started or stopped condition. |
Require thing exists | String | True or false. Defaults to false. | |
Connection tags | String | Limits the trigger to the connections specified by tags. Leave blank to not limit this trigger to connections specified by tag. When multiple tags are specified in the trigger event, the connection must have at least one tag in common for the trigger to execute. | |
Carrier | String | Limits the trigger to the connections within the specified carrier. Leave blank to not limit this trigger to connections specified by carrier. For example, AT&T, T-Mobile, Verizon, Vodaphone, Sprint and so on |
Event variables
Name
|
Type
|
Description
|
---|---|---|
$(event.conn.iccid) | String | The ICCID of the connection that initiated this trigger. |
$(event.conn.imei) | String | The IMEI of the connection that initiated this trigger. |
$(event.conn.imsi) | String | The IMSI of the connection that initiated this trigger. |
$(event.conn.meid) | String | The MEID of the connection that initiated this trigger. |
$(event.thing.key) | String | The key of the thing that initiated this trigger. |
$(event.thing.name) | String | The name of the thing that initiated this trigger. |
$(event.ts) | String | The timestamp of the connection status change that initiated this trigger. |