Error: "Unique constraint (Parent,Project ID,WBS Name) violated" When Running An Update Baseline Job

(Doc ID 2281349.1)

Last updated on JULY 05, 2017

Applies to:

Primavera P6 Enterprise Project Portfolio Management - Version 6.0 to [Release 6.0 to 16.2]
Primavera P6 Professional Project Management - Version 6.0 to [Release 6.0 to 16.2]
Primavera P6 Enterprise Project Portfolio Management Cloud Service - Version 8.3 to [Release 8.3 to 16.2]
Information in this document applies to any platform.


When attempting to run update baseline, the following error occurs:

Unique constraint (Parent,Project ID,WBS Name) violated. The value $NAME of the field WBS Name already exists.

The issue can be reproduced at will with the following steps:

  1. Log-in to P6 Professional
  2. Create a new project
  3. Create a WBS Element in the project
  4. Add an activity to the WBS element
  5. Select Project, Maintain Baseline
  6. Select Add, Save a copy of the current project as a new baseline, OK
  7. Select Close to the Maintain Baseline window
  8. Change the name of the WBS Code
  9. Select Project, Maintain Baseline
  10. Highlight the baseline and select Update
  11. Select the following options:
    • Add new activities and activity data (except actuals)
    • Run Optimized
  12. Note, it likely will not matter which options are selected on this page
  13. Select Update
  14. Note the job failure and the error in the log file
Same issue can occur when utilizing P6 Web.


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