Symptom
Onboarding API Entity createOnboardee throws an error when run via Postman
Error message:
<message lang="en-US">An existing user is already present in the system for userId:<existing_userid></message>
Environment
SAP SuccessFactors Onboarding 2.0
Reproducing the Issue
Run query via Postman:
POST: https://<API Data Center>.com/odata/v2/createOnboardee
Body:
{
"userName":"rehire username",
"userId":"rehire userId",
"email":"rehire email address",
"password":"Password",
"applicationId":"rehire application id"
"isNewHire": No <this is optional>
}
Cause
Onboarding 2.0 only allows Rehire for New employment
Resolution
Make the Rehire as a New Employment and not use the existing User ID
See Also
SAP SuccessFactors oData API Reference Guide: createOnboardee
SAP SuccessFactors Onboarding 2.0 Implementation Handbook: Rehire
Keywords
KBA , LOD-SF-OBX-RHM , Rehire Mechanism , How To
Product
SAP SuccessFactors Onboarding 2011