Override escalation group timings.
This allows a specific definition for this notification to supersede the escalation timings for an escalation group. The timing sequence is provided as a comma-delimited parameter list in which the last value represents a repeat value for all remaining escalation steps.
This will affect all recipients of the notification that are escalation groups, and needs to be set before a performNotification is performed.
Note that this method has no effect on User’s Device delay settings.
@notification::setEscalationOverride(String timingSequence)
(String) timingSequence: comma-delimited list specifying the escalation delay (in minutes) between Team members
None
The first script in the example illustrates forcing all escalation groups to a new escalation timing. The second example illustrates how to force a broadcast to all Team members or Teams in schedule within the Group.
# Force the following escalation timings:
# - first escalation after 10 minutes
# - second escalation 10 minutes after the first
# - third escalation 5 minutes after the second
# - all other escalations occur in 2 minute intervals
@notification::setEscalationOverride("10, 10, 5, 2")
@notification::performNotification ()
# Force a broadcast to all Group members in schedule
@Notification::setEscalationOverride("0")
@Notification::performNotification ()