ActionableNotification Class

Contains information about an actionable custom notification.

Messaging

This example shows how to create an ActionableNotification object by using the ActionableNotification.Builder class.

The following are methods for ActionableNotification.

Return the unique action identifier (API name) for the custom notification action.

This actionIdentifier must belong to the action group associated with the custom notification.

public String getActionIdentifier()

Type: String

Return the ID of the custom notification type used for the notification.

public String getNotificationTypeId()

Type: String

Return the user ID of the recipient of the notification.

public String getRecipientId()

Type: String

Return the user ID of the sender of the notification.

public String getSenderId()

Type: String

Return the record ID for the target record of the notification.

public String getTargetId()

Type: String

Return the PageReference for the navigation target of the notification.

public String getTargetPageRef()

Type: String