Subscription Object

Represents an active subscription with the subscription domain.

Creation Method: System-provided object.

Reference Name: The object reference name used in a script is user-defined for each Subscription object created using the Event object’s subscriptions factory method.

Scope: Script lifecycle.

Reserved object variables

Variable

Type

Description

id

String

The Subscription ID assigned to the Subscription

delay

Integer

A configuration field of the Subscription. Used to pre-populate a notification object’s delay.

deviceFilter

String

A configuration field of the Subscription. Used to pre-populate a notification object’s Device filter.

domain

String

The Subscription Domain of the current Subscription. Used to modify the presentation content for different Subscription Domains.

emergencyDeviceUsage

Boolean

Used to pre-populate a notification object’s emergency Device usage.

escalationOverride

String

A configuration field of the Subscription. Used to pre-populate a notification object’s escalation override.

ignoreDeviceDelays

Boolean

A configured field of the Subscription. Used to pre-populate a subscription notification object’s Ignore Device Delays flag.

name

String

Name of the Subscription

recipients

List

Recipients that are configured for the Subscription

responses

List

List of response choices configured for the Subscription

severityOverride

Boolean

A configured field of the Subscription. Used to pre-populate a Subscription notification object’s severity override flag.

timeframeOverride

Boolean

A configuration field of the subscription. Used to pre-populate a notification object’s timeframe override.

Subscription object methods

The following methods are available with the Subscription object:

content

getRecipients

notification