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
- Go to Manage Pending Hires
- Select Onboarding 2.0 from the list
- Select a candidate to hire
- Fill all data
- 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