@notification::link

Adds all of the recipients listed in the stakeholder list parameter to this notification process’ context. This will cause the appropriate object variables to be updated.

Recipients linked at the notification level are automatically made stakeholders of the parent event resolution business process.

The returned list will only contain recipients that were not found to exist in the system. These recipients will not be included in any stakeholder list.

Syntax:

@notification::link(list recipients)

Parameters:

(List) recipients: list of recipients to link

Returns:

None

Examples:

This example illustrates how to link the event recipients to this event resolution business process then add more recipients after the notification has started:

# No notification required,

# make event visible to the recipients

@notification::link($event.recipients)

@notification::performNotification ()

 

# wait until the notification is done

until(notification.terminated, $timeout)

 

The following example illustrates how to link recipients to a notification when multiple tokens are used for the recipients list:

@alert = @event::notification()
@alert::link($event.recipients_1)
@alert::link($event.recipients_2)
@alert::link($event.recipients_3)