@event::getStakeholders

Retrieves the list of stakeholders linked to this event.

Recipients are not considered stakeholders until they are resolved; if you call this method immediately after calling performNotification, the returned list will be empty as no recipients have been resolved yet. To create a list of all possible recipients, use the @event::getUniquePersons method and pass in the recipients list.

Syntax:

@event::getStakeHolders()

Parameters:

None

Returns:

(List) recipient target names.

Example:

This example illustrates how to set the event recipients to this event resolution business process to a state of delivered:

#Force all of the live notification for the recipients that

#have been involved by any notification associated

#with this event process to be considered delivered.

$stakeHolders = @event::getStakeHolders()

@event::delivered($stakeHolders)