Allowing the End User to Select Notification Channels

You can design a BPEL process in which you do not explicitly select a notification channel during design time, but simply indicate that a notification must be sent. The channel to use for sending notifications is resolved at runtime based on preferences defined by the end user in the User Messaging Preferences user interface of the Oracle User Messaging Service. This moves the responsibility of notification channel selection from the BPEL process in Oracle BPEL Designer to the end user. If the end user does not select a preferred channel or rule, email is used by default for sending notifications to that user. Regardless of who selects the channel to use, channel use is still based on the driver installation and configuration performed in the Oracle User Messaging Service section of Oracle Enterprise Manager Fusion Middleware Control by the administrator.

For example, an end user may set their preferences as follows:

  • If an expense report amount is less than $153, they receive an email notification.

  • If an expense report amount is between $153 and $3678, they receive an IM notification.

  • If an expense report amount is more than $3678, they receive an SMS notification.

Note:

You can also set user preferences for sending notifications in human workflows in the Human Task Editor. Set these preferences in the Notification Filters part of the Notification Settings section. These preferences are used to evaluate rules in the task. For more information, see How to Send Task Attachments with Email Notifications.

For more information about the Oracle User Messaging Service, see Administering User Communication Preferences.

For information about configuring the Oracle User Messaging Service in Oracle Enterprise Manager Fusion Middleware Control, see Administering Oracle User Messaging Service.