Symptom
- When the Onboarding process is initiated via Recruiting, the candidate is not visible in the Onboarding Dashboard.
- In the To-Do panel > Business Process, it gives the error:
Create External User (1)
Data Validation.
[Error Code: 7]The User Name you provided is not valid. Please use the following character types: [’a’ to ‘z’, ‘A’ to ‘Z’, ‘0’ to ‘9‘, ‘-‘, ‘_‘, ‘.‘, ‘@’].
Environment
SAP SuccessFactors Onboarding
Reproducing the Issue
- Log in to the instance
- Navigate to the To-Do panel > Business Process
- View user validation errors for [NEW HIRE] (EMAIL) for Onboarding process trigger [PROCESS ID]
- Create External User (1)
Data Validation.
[Error Code: 7]The User Name you provided is not valid. Please use the following character types: [’a’ to ‘z’, ‘A’ to ‘Z’, ‘0’ to ‘9‘, ‘-‘, ‘_‘, ‘.‘, ‘@’].
Cause
A special character exists in the candidate's primary email address in Recruiting.
Resolution
(Note: Username in Onboarding is from "primaryEmail" value in Recruiting, which is not editable in UI; only "contactEmail" is editable in Recruiting.)
Solution 1:
- Correct primaryEmail in Recruiting:
- Create support ticket to component LOD-SF-OBX and request a script to correct the email address in Recruiting.
- (For product support) Check internal memo for script to correct the email address.
- Restart the associated Business Process error.
Solution 2:
- Apply the fix proposed in Check Tool. - Process object exists for the new hire with a valid status. (ONB2CheckProcessObjectExistsWithValidStatus)
- Change the "Process Initiation Status" of the candidate from "Started" to "Cancelled" in Manage Data > Process Trigger: [Process Initiation ID]
- Correct primaryEmail in Recruiting (see above Solution 1)
- Re-run the checks and apply the quick fix from ONB2CheckProcessTriggerObjectExists check to enable the "Initiate Onboarding" option for the candidate.
See Also
Keywords
Onboarding, Onboarding 2.0, LOD-SF-OBX, OBX, Recruiting, Email Address, Data Validation, Validation Error, The User Name you provided is not valid. Please use the following character types: [’a’ to ‘z’, ‘A’ to ‘Z’, ‘0’ to ‘9‘, ‘-‘, ‘_‘, ‘.‘, ‘@’]., Candidate not visible, Onboarding Dashboard , KBA , LOD-SF-OBX-RCM , Initiate onboarding from RCM , How To