SAP Knowledge Base Article - Public

2967903 - Application error on manage pending hires (Onboarding 2.0) - Employee Central

Symptom

When trying to hire a candidate who is passing from Onboarding 2.0 in Manage Pending Hires, there is an application error pops up which is not allowing to proceed with the hire process.

Environment

SAP SuccessFactors Employee Central

  • Manage Pending Hires

SAP SuccessFactors Onboarding 

Reproducing the Issue

  1. Go to Manage Pending Hires
  2. Select Onboarding 2.0 from the list
  3. Select a candidate to hire
  4. Fill all data
  5. Click on Submit.

Result: Application error in the screen.

Cause

There is a possiblity that an oninit rule is configured in BCUI (Manage Business Configuration) defaulting some values as National id, Phone Information or Email Information that overwrite the value that was sent from onboarding to manage pending hires for the respective entities.

Resolution

To solve the issue you need to change the logic of the rule to trigger just when there is no value for that fields.

Keywords

EmpNationalIdCardEO, EmpEmailInfoDAOImpl, HibernateException, thrown, could, not, insert, [301]: unique constraint violated: Table(EMP_NATIONAL_ID_CARD), Index(UC_EMP_NATIONAL_ID_CARD_KEY) with error: unique constraint violation for table, EMP_NATIONAL_ID_CARDen, constraint='$uc_UC_EMP_NATIONAL_ID_CARD_KEY$', application, error, manage, pending, hires, recruits, onboarding 2.0, obx, , KBA , LOD-SF-EC-INT-OBX , Onboarding 2.0 to EC Integration , Problem

Product

SAP SuccessFactors HCM Suite all versions