Integration Server 10.15 | Built-In Services Reference Guide | Alert Folder | Summary of Elements in this Folder | pub.alert:setSettings
 
pub.alert:setSettings
WmPublic. Updates the settings of the system notifier.
Input Parameters
enabled​Emission​Channels
Object[]. List of channels for which alerts can be generated and stored in the database.
enabledSystem​NotifierChannels
Object[]. List of channels for which alerts are generated and displayed as notifications.
systemNotifier​​SeverityCutoff
String. Notifications are generated only for alerts with severity equal to, or more than this value.
retentionPeriod​​InDays
Integer. Determines how long the alerts are stored in the database.
certificate​Expiry​​WarningInDays
Integer. Number of days before the certificate expiry date when the alert should be generated.
Output Parameters
message
String. Indicates whether the system notifier settings are updated or not.
Usage Notes
Based on the value of the retentionPeriodInDays parameter, a purge job clears the alerts stored in the database.