Event PX to modify ECO Page Three Attribute during Change Status for Trigger Type: Pre Fails With ECO Has Been Modified Error (Doc ID 2301333.1)

Last updated on AUGUST 27, 2017

Applies to:

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

Symptoms

Event PX that will do below actions in a sequence is implemented to Change Status event:
- Edit Page Three Attribute of ECO
but the following error occurs.

ERROR
ECO has been modified. Please cancel this action, refresh the page and try again

Steps

  1. Create a java px : jar file with following logic
     
  2. Set a event

    name : updateECOItemPre
    Workflow : Default Change Orders
    Object Type : Change Orders
    Status - From : Pending
    Status - To : Submitted

     

  3. Set Event Hander

    name : updateECOItemPre
    Handler Type : Java PX
    Enabled : Yes
    Event Action : sample.ItemUpdatePreHandler

     

  4. Set Event Subscribers

    name : updateECOItemPre
    Event : updateECOItemPre
    EventHandler : updateECOItemPre
    Trigger Type : Pre
    Execution Mode : Synchronous
    Error Handling Rule : Continue

     

  5. Create a new item : P00347

  6. Create new ECO : C00224 and add affected item : P00347

  7. Set workflow Default Change Orders and change status from pending to Submitted. Below error message is observed. Status was not changed.

    ECO : C00224 has been modified. Please cancel this action, refresh the page and try again.

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