Human Task-Notification Service Sending a Duplicate Email when Task is Assigned to a Group (Doc ID 453577.1)

Last updated on OCTOBER 31, 2010

Applies to:

Oracle(R) BPEL Process Manager - Version: 10.1.3.1 and later   [Release: AS10gR3 and later ]
Information in this document applies to any platform.
***Checked for relevance on 31-Oct-2010***

Symptoms

Notification service is configured in a human task to send a notification (email in this case)
The task is assigned to a group, not to an individual user.
When BPEL is instantiated & human task is assigned, an email is send to the group.
When a user claims the task from worklist, then the same email is send again to the group.
Each member of the group get the same email twice.

-- Steps To Reproduce:
You can use the vacation request demo
(<OH>/bpel/samples/demos/VacationRequest) to reproduce the issue.

Configure the notification settings in the following way:

Task Status=Assign
Recipient=Assignees

No reminders
Make notifications secure (unchecked)
Make mail messages actionable (unchecked)
Send task attachments with email notifications (unchecked)

Assignment and routing policy

users: jcooper, istone
Important you are using 2 user names to simplify the testcase,
same issue is presented when you assign the task to a group.

  1. Deploy the process to your BPEL Server.
  2. Start a new instance of the process. (This will crate a new task)
  3. After the task is created, jcooper and istone get an email.
  4. Go to the BPEL Worklist application, login using the jcooper user and claim the task; after jcooper claim the task both users get an email again.

Both emails are very similar; the only difference between one email and the
other is the field "Acquired By", in the second email it contains the user
that has acquired the task. This situation can generate confusion with the workflow users

EMAIL WHEN THE TASK IS ASSIGNED TO THE GROUP
------------------------------------------------------------------------------
Task Number: 10016 Title: Vacation Approval for jstein
Task Key:
State: Assigned Created Date: 06/28/07 Creator: jstein
Outcome: Updated Date: 06/28/07 03:10 PM Acquired By:
Priority: 3 Expiration Date: 06/29/07 03:10 PM Assignees:

EMAIL WHEN THE TASK IS CLAIMED
------------------------------------------------------------------------------
Task Number: 10016 Title: Vacation Approval for jstein
Task Key:
State: Assigned Created Date: 06/28/07 Creator: jstein
Outcome: Updated Date: 06/28/07 03:13 PM Acquired By: jcooper
Priority: 3 Expiration Date: 06/29/07 03:10 PM Assignees:

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms