SAP Knowledge Base Article - Public

3734946 - API Cannot Recognize A Rehire – Onboarding

Symptom

The createOnboardee OData API does not return the expected response: REHIRE_USER_FOUND. When attempting to reuse an existing identifier, the API can return USER_ID_EXISTS.

Environment

SAP SuccessFactors Onboarding

Reproducing the Issue

  1. Send a createOnboardee API request to perform a rehire check using supported identifiers (for example, first name, last name, date of birth, national ID).
  2. Verify that the worker has a valid termination record and meets rehire criteria in the system.
  3. Observe that the API response does not include REHIRE_USER_FOUND, and the flow may create a new onboardee instead.

Cause

The API user lacked the required permission “Rehire Inactive Employee with New Employment (by ‘match’ in New Hire’)”.

Resolution

  1. Open Role-Based Permissions and locate the role assigned to the API user.
  2. Grant the permission “Rehire Inactive Employee with New Employment (by ‘match’ in New Hire’)”.
  3. Ensure related permissions are also granted, such as “Rehire Inactive Employee (by ‘match’ in New Hire’)” and “Initiate Onboarding API Permission”.
  4. Confirm the terminated worker’s profile is eligible for rehire and that unique identifiers are used as needed to avoid USER_ID_EXISTS.
  5. Re-run the rehire check via the createOnboardee API and verify the response returns REHIRE_USER_FOUND.

See Also

  • 3016462 - createOnboardee API - Onboarding 2.0
  • 3407700 - Rehire verification with No matches
  • 3398250 - createOnboardeeAPI with national ID as rehireCheck is not working

Keywords

obx, createOnboardee, rehire check, rehire_user_found, user_id_exists, odata api, api user permissions, role-based permissions, rehire inactive employee with new employment, match in new hire, rehire candidate flow, terminated worker, unique identifiers , KBA , LOD-SF-OBX-RCF , Rehire Candidate Flow , Problem

Product

SAP SuccessFactors Onboarding