SAP Knowledge Base Article - Public

3711759 - Rehire in onboarding 2.0 with mini employee central

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

  1. Set up a mini Employee Central (EC) environment where termination records are not maintained, and the user status is set to inactive.
  2. Attempt to perform a rehire using the API with isRehireOnOldEmployment = Yes.
  3. Observe the error message: "There must first be termination record."
  4. Attempt to pass an event reason during the rehire process.
  5. 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