Notification-level job control

The following job control methods are available at the notification level, and can be accessed via the @notification script object:

For proper syntax and parameters, see Notification Object.

The following code sample illustrates how the notification-level job controls may be used:

#####################################################

# Performing job control based on the $reply variable

#####################################################

 

IF ($reply == “DelinkMe”)

# Delink  the $recipient from the notification

   @notification::delink($recipient)

ELSE-IF ($reply == “DelinkEveryone”)

# Delink all recipients from the notification

   @notification::delinkAll()

ELSE-IF ($reply == “DeliverMe”)

# Deliver the recipient from the notification

   @notification::deliver($recipient)

ELSE-IF ($reply == “DeliverEveryone”)

# Deliver all recipients from the notification

   @notification::deliverAll()

ENDIF

 

#####

Incident-level job control

Event-level job control