Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Notification

dilipdevaraj-sfdc edited this page May 23, 2017 · 7 revisions

User Guide | Data Model


A notification object encapsulates information about the notification that is sent when an alert is triggered.

Field Name Type Description
id bigint ID of the notification object
createdById bigint ID of the principal who created the notification
createdDate long Timestamp at which the notification was created
modifiedById bigint ID of the principal who last modified the notification
modifiedDate long Timestamp at which the notification was last modified
name string Notification name
notifierName string Class name of the notifier type
subscriptions string[] Subscribers to the alert
metricsToAnnotate string Metric identifiers
cooldownPeriod long Time period in milliseconds when the notification is not sent
cooldownExpiration long Timestamp at which the notification comes off of cooldown or -1 if the notification is not on cooldown
triggerIds bigint[] Trigger IDs associated with the notification
alertId bigint Alert ID associated with the trigger
customText string Additional data to include in the notification. customText is optional.
isSRActionable boolean If the notification should be monitored by SR. isSRActionable is optional.
severityLevel int Severity level of notification (1-5).Defaults to 5. severityLevel is optional.
Example: Notification Entity
{
  "id": 297690,
  "createdById": 100301,
  "createdDate": 1446163333787,
  "modifiedById": 100301,
  "modifiedDate": 1446163333946,
  "name": "My notification name",
  "notifierName":"com.salesforce.dva.argus.service.alert.notifier.EmailNotifier",
  "subscriptions": ["[email protected]"],
  "metricsToAnnotate": [
    "agent.health:min"
  ],
  "cooldownPeriod": 14400000,
  "cooldownExpiration": 0,
  "triggersIds": [
    297689
  ],
  "alertId": 297197,
  "customText": "This is the additional data to include in the notification"
}
Clone this wiki locally