SAP Knowledge Base Article - Public

3018783 - [ONB 2.0]Error when we initiate onboarding for a candidate manually : This user already exists in the system. Do you want to initiate onboarding for the existing user?

Symptom

Unable to re-initiate onboarding for a candidate manually , for whom the onboarding is cancelled.


Environment

SuccessFactors Onboarding 2.0

Reproducing the Issue

  • Initiate onboarding for a candidate from add new hire to onboarding window.
  • Cancel onboarding for the candidate.
  • Re-initiate onboarding for the same candidate from add new hire to onboarding window , you will receive the below error 

                    Error  : This user already exists in the system. Do you want to initiate onboarding for the existing user? Click OK

                    Error while upserting EC data for user : XXXXX . org.hibernate.exception.ConstraintViolationException: could not prepare statement


Cause

The reason you cannot initiate Onboarding for this user is because the user record for the cancelled Onboarding process for the same user (with the same Employee ID) still exists in the system. 


Resolution

  • Initiate onboarding for a candidate from add new hire to onboarding window.
  • Cancel onboarding for the candidate
  • Purge the record of candidate using Data retention management. (Make sure you purge the record immediately you cancel onboarding)
  • Re-initiate onboarding for the same candidate from add new hire to onboarding window. 

See Also

For information on how to purge this user, see the guide link below: 
https://help.sap.com/viewer/c94ed5fcb5fe4e0281f396556743812c/2005/en-US/c5e8b56ad3c54b29b289d1c020e890f9.html

Keywords

Re-initiate onboarding, add new hire to onboarding , add new recruit to onboarding, cancel onboarding  , KBA , LOD-SF-OBX-NHA , New Hire Activities , Problem

Product

SAP SuccessFactors Onboarding 2011