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
- Complete the Manage Pending Hires for the candidate;
- Attempt to update the username via API before the candidate hire date;
- 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
- Updating the Username of a New Hire | SAP Help Portal
- KBA 3123692 - [Onboarding] FAQs on updateUserNamePostHiring API to update the internal username - SAP for Me
- KBA 3716202 - updateusernameposthiring API not supported in Employee Central (EC)-only setup - SAP for Me
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
SAP Knowledge Base Article - Public