Queries whether the recipient is no longer associated with the current event.
@event::isDelinked(long notificationId)
(Long) notificationId: identifier of the notification
(Boolean) true if delinked; false if linked
Typically, this method is used in an interaction script before an action is taken to ensure that an external event has not terminated the event.
# Notify Script
# check if the event has been externally terminated
$delinked = @event::isDelinked($notId)
IF ($delinked)
@phone::play("phrase", "not associated", true)
return
ENDIF