SAP Knowledge Base Article - Public

3799149 - [COE0020] rehire inactive employee (by match in new hire) permission error when creating onboardee via API - Onboarding

Symptom

[COE0020]Permission: "Rehire Inactive Employee (by 'match' in New Hire) for terminated employees appears upon Onboardee creation via API

Environment

SAP SuccessFactors Onboarding

Reproducing the Issue

  1. Ensure the API user has the RBP permission “Rehire Inactive Employee (by ‘Match in New Hire’)”
  2. Call the OData API createOnboardee to initiate onboarding directly from an external system.
  3. Get the error [COE0020]Permission: "Rehire Inactive Employee (by 'match' in New Hire)

Cause

This has been identified as a known issue in the Rehire on Old Employment flow when initiated via an external ATS/API, when the target population for rehire is enabled.

Resolution

Workaround 

  1. In Admin Center, go to Manage Data > Hire/Rehire Configuration and set Enable target population for rehire on old employment to No.

  2. Go to Manage Permission Roles > Manage Hires and grant the API user’s role the following permissions:

    • Rehire Inactive Employee (by “Match in New Hire”)

    • Rehire Inactive Employee

There is no timeline for the code fix in the moment, however, it is possible to track directly with the Account Manager through the code OBX-45036

See Also

Keywords

createonboardee, coe0020, rehire inactive employee, match in new hire, rehire on old employment, terminated, onboarding 2.0, odata api, rbp, permission missing, hire/rehire configuration, enable target population, ats rehire, api initiation, onboarding integration, OBX-45036, [COE0020] rehire inactive employee (by match in new hire) , KBA , LOD-SF-OBX-ATS , ATS Integration , Problem

Product

SAP SuccessFactors Onboarding all versions