Introduction to the Notification Service

Using the Notification Service 16-3

16.2 Introduction to Notification Channel Setup

Notification setup is a multiple-step process that involves three user interface tools. Table 16–1 provides an overview of this process, including the task to perform, the tool to use, and the documentation to which to refer for more specific details.

16.3 Selecting Notification Channels During BPEL Process Design

Oracle JDeveloper includes the email, IM, SMS, and voice channel notification channels in the Component Palette. You can set the exact notification channels to use during design time. For example, a BPEL process can be designed to use the following notification channels: ■ If an expense report amount is less than 1000, an email notification channel is used. ■ If an expense report amount is between 1000 and 2000, an SMS notification channel is used. Table 16–1 Notification Tasks Task Description User Interface Described In... Select a channel for sending notifications in a SOA composite application. Select a method for sending notifications: ■ Explicitly select and configure an email, IM, SMS, or voice channel. or ■ Do not explicitly select a notification channel, but simply select that a notification must be sent. Channel selection occurs later in the User Messaging Preferences user interface. Selected and configured by the BPEL process designer in Oracle BPEL Designer Section 16.3, Selecting Notification Channels During BPEL Process Design or Section 16.4, Allowing the End User to Select Notification Channels Configure the driver for the notification channel You configure drivers on the same Oracle WebLogic Server on which you deploy the SOA composite application. This action enables participants to receive and forward notifications. Driver support is provided for email, IM, SMS, and voice channels. Configured by the administrator in Oracle Enterprise Manager Fusion Middleware Control Oracle Fusion Middleware Administrators Guide for Oracle SOA Suite and Oracle BPM Suite Configure the notification mode and actionable accounts for human workflows If you are using notifications with human workflow, you configure the notification mode and actionable account for email. Configured by the administrator in Oracle Enterprise Manager Fusion Middleware Control Oracle Fusion Middleware Administrators Guide for Oracle SOA Suite and Oracle BPM Suite Register the devices used to access messages by specifying user preferences This action enables workflow participants to receive notification messages. For example, the end user registers email clients and specifies the message content to receive and the channel to use for receiving messages. If no channel is specified, email is used by default. Note that the preferences set in this application are applicable only to that specific end user, and not to other users. Registered by the end user in the User Messaging Preferences user interface. You can access this interface by selecting Preferences Notification in Oracle BPM Worklist. Part XI, Using Oracle User Messaging Service 16-4 Oracle Fusion Middleware Developers Guide for Oracle SOA Suite ■ If an expense report amount is more than 2000, a voice notification channel is used. To select the notification channel during BPEL process design: 1. In the Component Palette, expand Oracle Extensions. 2. Drag a notification channel into the designer: ■ Email ■ IM ■ SMS ■ Voice 3. See the section in Table 16–2 based on the notification channel you selected.

16.3.1 How To Configure the Email Notification Channel

When you select Email from the Component Palette, the Email dialog appears. Figure 16–2 shows the required email notification parameters. Table 16–2 Notification Channels If You Selected... See... Email Section 16.3.1, How To Configure the Email Notification Channel to configure email notification IM Section 16.3.2, How to Configure the IM Notification Channel to configure IM notification SMS Section 16.3.3, How to Configure the SMS Notification Channel to configure SMS notification Voice Section 16.3.4, How to Configure the Voice Notification Channel to configure voice message notification Note: If you delete an email, voice, SMS, or IM activity, any partner link with which it is integrated is not automatically deleted. Using the Notification Service 16-5 Figure 16–2 Email Dialog To configure the email notification channel: 1. Enter information for each field as described in Table 16–3 . Note: For the To, CC, and Bcc fields, separate multiple addresses with a semicolon ;. Table 16–3 Email Notification Parameters Name Description From Account The name of the account used to send this message. The default account is named Default and is editable from the Workflow Notification Properties page in Oracle Enterprise Manager Fusion Middleware Control. To add additional accounts, you must use the System MBean Browser in Oracle Enterprise Manager Fusion Middleware Control. For information on editing this property in Oracle Enterprise Manager Fusion Middleware Control, see Oracle Fusion Middleware Administrators Guide for Oracle SOA Suite and Oracle BPM Suite. To The email address to which the message is to be delivered. This can be one of the following: ■ A static email address entered at the time the message is created ■ An email address retrieved using the identity service ■ A dynamic address from the payload The XPath Expression Builder can get the dynamic email address from the input. See Section 16.3.5, How to Select Email Addresses and Telephone Numbers Dynamically. CC and Bcc The email addresses to which the message is copied and blind copied. This can be a static or dynamic address, as described for the To address. Reply To The email address to use for replies. This can be a static or dynamic address, as described for the To address.