@notification::setHandleDeliveryEvents

Configure the notification to run a response script when the delivery of a notification is successful. Defaults to false.

This can limit node performance. Set this value to true only if you need to execute custom behaviour when successful delivery events occur.

Syntax:

@notification::setHandleDeliveryEvents(Boolean state)

Parameters:

(Boolean) state:specifies whether the notification should run a response script when a notification is successfully delivered; default is false.

Returns:

None

Example:

This script illustrates using setHandleDeliveryEvents:

# Configure system to run a response script

@notification::setHandleDeliveryEvents(TRUE)

 

Processing Events and Handling Responses