Determines whether another recipient is available to escalate to.
This method is available in the following xMatters versions: 4.1 (patch 11 and later), 5.0, and xMatters on demand.
@notification::isEscalatable()
None
(Boolean) true if another Team member is notifiable; false if the User is not in a Team, or if the Team has no further escalations.
The following code sample illustrates how the isExcalatable method is used in the presentation script to control the available response choices:
# this flag prevents responses from being added to the message
IF (EXISTS($event.outboundOnly) && ($event.outboundOnly == "true"))
#Already reported on 'init'
ELSE
$escalatable = @notification::isEscalatable()
IF ($escalatable)
$content.choices = "Accept"
$content.choices::add("Reject")
ELSE
$content.choices = "Accept"
ENDIF
ENDIF