Redline BOM via SDK Ends in Insufficient Privilege Error When $CURRENTREV Used

(Doc ID 2248139.1)

Last updated on SEPTEMBER 25, 2017

Applies to:

Oracle Agile PLM Framework - Version to [Release 9.3]
Information in this document applies to any platform.


Actual Behavior
Redline bom via SDK ends in Insufficient privilege error when $CURRENTREV equals workflow.status is set.
However Redline bom can be performed for Web Client.

Error code : 407
Error message : Insufficient privilege.
Root Cause exception : com.agile.util.exception.CMAppException: Insufficient privilege.


  1. Create Criteria : Test-Items-Parts-Recipe_01

    Object Type : Recipe
    Page Two.Corporate_Code In XXX And
    Page Three.Recipe Division Is Null And
    $CURRENTREV Equal To TestWorkFlow.In Process

  2. Create Criteria : Test-Items-Parts-Recipe_02

    Object Type : Recipe

  3. Create Privilege : Test-Items-Parts-Recipe#Read_01

    Privlege : Read
    Object Type : Recipe
    Privilege Criteria : Test-Items-Parts-Recipe_01

  4. Create Privilege : Test-Items-Parts-Recipe#Modify_02

    Privlege : Modify
    Object Type : Recipe
    Privilege Criteria : Test-Items-Parts-Recipe_02

  5. Create Role : TEST_SR. Add below privilege

    Changes-Change Orders-ECO Recipe creation#Create_01
    Changes-Change Orders-ECO Recipe creation#Discovery_01
    Changes-Change Orders-ECO Recipe creation#Modify_01[All]
    Changes-Change Orders-ECO Recipe creation#Read_01[All]

  6. Create user : testuser
  7. Role : Creator can read and discover object he or she created; My User Profile; Staff; TEST_SR
  8. Login to web client in admin user
  9. Create New > Changes > Change Orders > ECO Recipe creation

    number : FQ00000000004
    workflow : TestWorkFlow

  10. On affected items tab, Add > Create to add

    Type : Recipe
    Number : CH0001001000
    Corporate_Code : XXX

  11. Set the status to complete
  12. Open recipe : CH0001001000 and Action > Create New > Changes
    select ECO Recipe creation

    number : FQ00000000005
    workflow : TestWorkFlow

  13. Move to status : In Process
  14. Go to affected item tab. Confirm that AN00000000030 can be added for BOM redline in CH0001001000
  15. Run SDK adding AN00000000030 to BOM redline in CH0001001000


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