My Oracle Support Banner

Change Status Pre Event Gets Executed Even Change Status Action Is Cancelled (Doc ID 2535584.1)

Last updated on DECEMBER 04, 2019

Applies to:

Oracle Agile PLM Framework - Version 9.3.5.0 and later
Information in this document applies to any platform.

Symptoms

Actual Behavior

Change Status Pre event runs even approver with insufficient privilege was set while changing status, and the approver got removed and Change Status action was cancelled.


Expected Behavior

If Change Status action is cancelled, Change Status pre-event not to be executed

Steps

Issue can be reproduced by following below steps:

  1. Copy PX jar to %Agile_Home%\integration\sdk\extensions
  2. Login to Java Client as admin user
  3. Configure below:
    - Event:
    Event Type: Change Status for Workflow
    Name: TestCS
    Workflow: Default Change Orders
    Status -  From: CCB
    Status - To: Released
    - Event Handler
    Handler Type: Java PX
    Name: TestReturnComplete
    Event Action: <event_action>
    - Event Subsciber
    Name: TestCSEvent
    Event Handler: TestReturnComplete
    Trigger Type: Pre
    Execution Mode: Synchronous
    Error Handling Rule: Stop
  4. Create user testuser1 with default Roles only
  5. Login to Web Client
  6. Create ECO, and set Default Change Orders workflow, and change status to CCB
  7. When changing status from CCB to Released, select testuser1 as approval
  8. Gets caution, "Approvers <username> have been removed since they do not have sufficient privileges", and you can "Finish" or "Cancel".
  9. Click "Cancel". It stays at CCB status. Goto History tab. Can see User Defined Action is recorded, and configured Event was run even though Change Status event did not complete

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.