@event::notification

Returns a new Notification object that can be used to create a notification process or sub-process for this event resolution business process.

Syntax:

@event::notification()

Parameters:

None

Returns:

(script object) @notification

Example:

This example illustrates a theoretical scenario where the event resolution business process needs to create two notification processes for the event.

# Create an informative notification for the event recipients

@fyiNotification = @event::notification()

@fyiNotification::link($event.recipients)

@fyiNotification::setPresentation("FYI")

@fyiNotification::performNotification()

# Create notification for the recipients that are able

# to resolve the issue

@resolutionNotification = @event.notification()

@resolutionNotification::setHandler("Resolve")

@resolutionNotification::setPresentation("Resolve")

@resolutionNotification::link($event.resolvers)

@resolutionNotification::performNotification()