When trying to add a new employee via manager pending hires there is an application error not allowing to proceed with the hire process.
- SAP SuccessFactors Employee Central
- Suite Integration (Onboarding 2.0)
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.
There is an oninit rule on 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.
To solve the issue you need to change the logic of the rule to trigger just when there is no value for that fields.
EmpNationalIdCardEO, EmpEmailInfoDAOImpl, HibernateException, thrown, could, not, insert, : 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