SAP Knowledge Base Article - Public

3726158 - Unable to update username using updateusernameposthiring API - Onboarding

Symptom

An error occurs when attempting to update the username via updateusernameposthiring API

The error message received: "The request couldn’t be completed because the user doesn’t have a valid Onboarding process."

Environment

SAP SuccessFactors Onboarding

Reproducing the Issue

  1. Complete the Manage Pending Hires for the candidate;
  2. Attempt to update the username via API before the candidate hire date;
  3. Observe the error message.

Cause

The issue occurs because the user has two onboarding processes active in the system with different hire types. According to the product logic, each user must have only one active onboarding process at a time. When the system attempts to retrieve data and detects two active processes, it is unable to determine which process should be updated, resulting in the error.

Resolution

Ensure that a user cannot have more than one ongoing onboarding process in the system simultaneously.

See Also

Keywords

successfactors, employee central, updateusernameposthiring, odatav4 service api, onboarding 2.0, username update error, rehire on old employment, onboarding process error, multiple onboarding processes, hire type change, api error , KBA , LOD-SF-OBX-EC , Integration EC - MPH, Hire , Problem

Product

SAP SuccessFactors Onboarding all versions