Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

NotificationActionContext Class

Contains information about the report instance and condition threshold for a report notification.

Namespace

Reports

NotificationActionContext Constructors

The following are constructors for NotificationActionContext.

NotificationActionContext(reportInstance, thresholdInformation)

Creates a new instance of the Reports.NotificationActionContext class using the specified parameters.

Signature

public NotificationActionContext(Reports.ReportInstance reportInstance, Reports.ThresholdInformation thresholdInformation)

Parameters

NotificationActionContext Methods

The following are methods for NotificationActionContext.

getReportInstance()

Returns the report instance associated with the notification.

Signature

public Reports.ReportInstance getReportInstance()

Return Value

Type: Reports.ReportInstance

getThresholdInformation()

Returns the threshold information associated with the notification.

Signature

public Reports.ThresholdInformation getThresholdInformation()

Return Value

Type: Reports.ThresholdInformation