@event::isDelinked

Queries whether the recipient is no longer associated with the current event.

Syntax:

@event::isDelinked(long notificationId)

Parameters:

(Long) notificationId: identifier of the notification

Returns:

(Boolean) true if delinked; false if linked

Example:

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