Symptom
When an employee is rehired using the Rehire with Old Employment option, the username updated using the updateUserNamePostHiring API is not retained. After the conversion job runs, the username reverts to the original User ID.
Environment
SAP SuccessFactors Onboarding
Reproducing the Issue
- A candidate is hired in the system.The system assigns the User ID as the username.
- Based on the customer's requirement, the username is updated using the updateUserNamePostHiring API.
- The username is updated successfully for the initial employment.
- The employee is terminated and subsequently rehired using Rehire with Old Employment.
- During the rehire process, the updateUserNamePostHiring API is called to update the username.
- After the conversion job runs and the candidate is hired, the username reverts to the original User ID.
Cause
This is expected system behavior.
Resolution
For Rehire with Old Employment scenarios, the username is restored to the original User ID associated with the existing employment record. Username changes made using the updateUserNamePostHiring API are not retained during the Rehire with Old Employment process.
See Also
Keywords
SAP Knowledge Base Article - Public