Sunteți pe pagina 1din 4

Oracle BPM 11g P6 Workshop

Notifications

Table of Contents
6

Notifications ........................................................................................................ 1
6.1

Objective ...................................................................................................... 1

6.2

Use Case Description .................................................................................. 1


6.2.1 Overview ............................................................................................. 1

6.3

Exercise Instructions.................................................................................... 1
6.3.1 Process Modifications ......................................................................... 2
6.3.2 Configuration ....................................................................................... 2

6.4

Running and Testing the application ........................................................... 4

6.1 Objective
This exercise shows you how to use inbound and outbound
notifications to process participants. You also learn how to send
notifications to non-participants.

6.2 Use Case Description


Note: The solution for this exercise can be found in
ps6workshop\solutions\BPM11g11117-Solution-WorkAssignment.zip

6.2.1 Overview
Continue with the same use case that was used in the Work
Assignment lab earlier.
You do the following in this lab:

Enable actionable notifications for all the user tasks.

Send an email to a non-participant (Mandy Moore) on


successful completion of all steps in the process

Configure the messaging server and the workflow service to


handle incoming emails

6.3 Exercise Instructions


Open the Work Assignment process that you completed in the earlier
lab and do the following:

Page 1 of 4

Notifications 6.1
Oracle Confidential. For authorized use only. Do not distribute to third parties.

Oracle BPM 11g PS6 Workshop

6.3.1 Process Modifications


1.

For each user task, open the human workflow definition and enable
actionable emails. You can find this option in the Advanced tab in
the Notifications option.

2.

Modify the process so that an email is sent out to


mandy.moore@emailexample.com when all approvals are
completed successfully

6.3.2 Configuration
Before you can run this, you need to make sure your environment is
setup correctly to send and receive emails. The virtual machine you
are using has the basic setup done. The VM is running an SMTP and a
POP3 server and the User Messaging Service (UMS) has already
been configured to use it. Take a look at all the configuration settings
by logging into EM console.

6.3.2.1 Testing Outbound Notifications


You can test that this configuration is working by using the Workflow
service engine console. Follow these steps to run a quick test
1.

Start Thunderbird email client. This is already setup for two


accounts jcooper and jstein.

2.

Right-click on soa-infra and select Service Engines  Human


Workflow

3.

Select Notification Management tab and click on Send Test


Notification

4.

Send the test email to jcooper@emailexample.com

6.3 Notifications

Page 2 of 4
Oracle Confidential. For authorized use only. Do not distribute to third parties.

Oracle BPM 11g P6 Workshop

5.

Refresh the EM console and you should see an entry in the


Outgoing Notifications table

6.

Check your Thunderbird; you should receive the email in jcoopers


inbox.

6.3.2.2 Setting up inbound emails


Now that you know that all outbound emails are being received
properly by the recipients, you now configure the inbound emails.
Since the VM was configured only for outbound, you need to make a
few changes to enable inbound emails. Follow these steps to configure
the UMS and Workflow for inbound emails
1.

Open the email driver properties in EM

2.

Under Common Configuration, enter


EMAIL:demoadmin@emailexample.com for Sender Addresses
and demoadmin@emailexample.com for Default Sender Address

3.

Under Driver-Specific Configuration enter the following in the


respective fields

Page 3 of 4

Notifications 6.3
Oracle Confidential. For authorized use only. Do not distribute to third parties.

Oracle BPM 11g PS6 Workshop

IncomingMailIDs

demoadmin@emailexample.com

IncomingUserIDs

demoadmin

IncomingUserPassword

Type of Password = Use Cleartext Password


Password = welcome1

4.

Open the workflow properties by right-clicking on soa-infra and


selecting SOA Administration  Workflow Properties

5.

Replace Email: From Address and Email: Actionable Address


with demoadmin@emailexample.com

6.

Stop and start the Admin server

6.4 Running and Testing the application


To test the process, use Thunderbird to approve jsteins tasks.
Use the Notification Management in Human Workflow service engine
console to check if the email to Mandy Moore was sent. If you are
comfortable with using Thunderbird, you can setup another account for
mandy.moore by using the same settings as for jcooper and jstein

6.4 Notifications

Page 4 of 4
Oracle Confidential. For authorized use only. Do not distribute to third parties.

S-ar putea să vă placă și