This repository has been archived by the owner on Feb 12, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 145
Notification
dilipdevaraj-sfdc edited this page May 23, 2017
·
7 revisions
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. |
{
"id": 297690,
"createdById": 100301,
"createdDate": 1446163333787,
"modifiedById": 100301,
"modifiedDate": 1446163333946,
"name": "My notification name",
"notifierName":"com.salesforce.dva.argus.service.alert.notifier.EmailNotifier",
"subscriptions": ["abc@somecompany.com"],
"metricsToAnnotate": [
"agent.health:min"
],
"cooldownPeriod": 14400000,
"cooldownExpiration": 0,
"triggersIds": [
297689
],
"alertId": 297197,
"customText": "This is the additional data to include in the notification"
}