Symptom
- Error message: "There must first be termination record" encountered during rehire process using API with isRehireOnOldEmployment = Yes.
- Error message: "There is already a hire record" encountered when passing event reason during rehire process.
Environment
SAP Successfactors Onboarding
Reproducing the Issue
- Set up a mini Employee Central (EC) environment where termination records are not maintained, and the user status is set to inactive.
- Attempt to perform a rehire using the API with isRehireOnOldEmployment = Yes.
- Observe the error message: "There must first be termination record."
- Attempt to pass an event reason during the rehire process.
- Observe the error message: "There is already a hire record."
Cause
- No termination record was added in the mini Employee Central setup, which is required for rehire processes.
Resolution
Ensure that termination records are maintained for candidates even in a mini Employee Central setup.
See Also
Keywords
rehire process, onboarding 2.0, mini employee central, termination record, rehire API, isRehireOnOldEmployment, event reason, error message, SAP SuccessFactors , KBA , LOD-SF-OBX-RCF , Rehire Candidate Flow , Problem
Product
SAP SuccessFactors Onboarding 2505
SAP Knowledge Base Article - Public