Notifications Sent via an Event Process Extension (PX) Is Inserting the User from the 'To' Field for the[User Name] Value Field in the Body of the Notification. (Doc ID 1599323.1)

Last updated on AUGUST 08, 2017

Applies to:

Oracle Agile Product Portfolio Management - Version 9.3.1.1 to 9.3.2.0 [Release 9.3.1.0 to 9.3.2]
Oracle Agile PLM Framework - Version 9.3.1.1 to 9.3.2.0 [Release 9.3.1.0 to 9.3.2]
Information in this document applies to any platform.

Symptoms

When attempting to send a notification via an Event PX it is putting the user in the To field for value in for the [user name] field in the body of the notification.

Expected Behavior:
 To put in the value of the user who has changed the status which is what the out of the box notification does.

The issue can be reproduced at will with the following steps:
In Java Client,
1. Create an event 'Complete task':

Event Type: Change Status for Workflow
Workflow: Approval (Task - All Phases)
Object Type: Task
Status - From:
Status - To: Completed

2. Create an Event Subscriber 'Complete task notification'

Event: Complete Task
Event Handler: Activities - Project Status Promotion, Observers/Notifiers PX (which is a notification saved from 'Activities - Project Status Promotion, Observers/Notifiers')

a. Both notification have the below:
[General Info.Activities Type] [General Info.Name] has been moved by [User Name] to [General Info.Status] for the [General Info.Workflow] workflow.

Comments from [User Name]:
[Comments]

Moved to [General Info.Status] by: [User Name]

b. The PX notification has the To field set to "$NOTIFY"

In Web Client,
3. Log in as admin
4. Create a task 'TASK'.
5. Add a user to the team (ie: USER1)
6. Log in as USER1
7. Change the status to Completed.
8. Log back in as Admin and go to Notifications tab and see that both notifications were triggered and sent
9. Each notification show the [user name] field differently.


a. 'Activities - Project Status Promotion, Observers/Notifiers'

Task TASK has been moved by User, User1 (USER1) to Completed for the Approval (Task - All Phases) workflow.

Comments from User, User1 (USER1):

Moved to Completed by: User, User1 (USER1)




b. 'Activities - Project Status Promotion, Observers/Notifiers PX'

Task TASK has been moved by Administrator, Administrator (admin) to Completed for the Approval (Task - All Phases) workflow.

Comments from Administrator, Administrator (admin):

Moved to Completed by: Administrator, Administrator (admin)


10. Change the notify to field for the PX notification from $NOTIFY to USER2 and reproduce steps 3-7.
11. Log in as USER2 and see that the notification now shows USER2

Task Gate Review has been moved by User, User2 (USER2) to Completed for the Approval (Task - All Phases) workflow.

Comments from User, User2 (USER2):

Moved to Completed by: User, User2 (USER2)



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