Integration Server 10.11 | Built-In Services Reference Guide | Alert Folder | Summary of Elements in this Folder | pub.alert:registerChannel
 
pub.alert:registerChannel
WmPublic. Registers a custom channel.
Input Parameters
displayName
String. Name of the channel that you want to register.
description
String. Optional. Description of the channel.
emissionEnabled
Boolean. Optional. Indicates whether an alert is generated for the channel and stored in the database or not. Set to:
*true to emit alerts for the channel and store them in the database.
*false to disable alerts for the channel.
The default value is true for custom channels as well as system channels other than Service Error and Server Error.
systemNotificationEnabled
Boolean. Optional. Indicates whether the alert generated for the channel is displayed as a notification or not. Set to:
*true to generate notifications for the channel.
*false to disable notifications for the channel.
The default value is true for custom channels as well as system channels other than Service Error and Server Error.
Output Parameters
channelId
Integer. Identifier of the registered channel.
Note:
Channel IDs for custom channels start with 1001.
Usage Notes
For custom channels, channel IDs are generated by the system and cannot be modified. The first custom channel gets 1001 as the channel ID and subsequent custom channels have consecutive numbers. Once a custom channel is deregistered, the channel ID is no longer available for a new custom channel until Integration Server is restarted.