Show TOC

Develop Notification ProviderLocate this document in the navigation structure

Notification Provider Interface

Interface /IWNGW/IF_NOTIF_PROVIDER is the notification provider interface, all providers must implement this interface. Each provider has a self assigned ID which is used for all interaction with Notification Channel. Before creating any notifications the notification provider must be implemented.

Methods:

  • GET_NOTIFICATION_TYPE

    Metadata related to the notification type should be returned by this method. More than one notification type can be supported by a notification provider and multiple versions of a single notification type are supported. Any actions associated with the notification type will be returned.

  • GET_NOTIFICATION_TYPE_TEXT

    Language-dependent text related to the notification type metadata should be returned from this method, including text templates (e.g. “PO {order_id} set to status {status}”) and action texts (e.g. “Approve”).

  • GET_NOTIFICATION_PARAMETERS

    Notification instance specific parameters (for example, status, order_id) should be returned from this method. The parameters are joined with the text templates to form the text of a notification.

  • HANDLE_ACTION

    Actions, as defined in GET_NOTIFICATION_TYPE, can be triggered by end users. The notification provider must handle those actions via this callback method.