Symptom
When user is being hired from onboarding 2.0 and have a configuration to generate the custom id which is assigned in the "Rule for Onboarding User ID Generation " under Onboarding configuration. But, we also have a rule to generate the id under Hire/Rehire configuration object which is assigned in the "Rule to generate next employee ID " at the EC end where both the sequences differ.
Environment
SAP Successfactors Employee Central
SAP Successfactors Onboarding
Reproducing the Issue
- Go to Admin Center -> Employee Files -> Manage Data.
- Select Onboarding Configuration in the first dropdown and DEFAULT_ONB2_CONFIG in the second dropdown.
- In the Rule for Onboarding User ID Generation dropdown, select the rule that you've created with sequence XXX
- Repeat the step 1.
- Select New Hire/Rehire Configuration in the first dropdown and MatchingUserConfiguration in the second dropdown.
- In the Rule to generate next employee ID dropdown, select the rule you've created with sequence YYY
- Hire a candidate from Onboarding and move to MPH
- Fill in the details if any
- Submit
- Notice that user id generated is from the sequence XXX and Business rule fails at the EC end upon checking in the rule trace.
Resolution
This is an Expected behavior.
When user id is generated via business rule at the onboarding side due to the Onboarding configuration, then rule will fail at the EC end though rule is assigned in the Hire/Rehire configuration object which is by design in ONB 2.0
Suggestion
Please ensure that hiring happens at the onboarding side else sequence will be skipped if candidate did not join and you need to import the user to fill the skipped sequence as a workaround.
See Also
Keywords
Issue in User id generated after submitting the candidate in Manage pending Hires/Recruits via Business rule, user id, userid, generation, generated, submit, MPH, candidate, manage pending hire, recruit, business rule, rule, Generate Employee ID For Hire/Rehire, DEFAULT_ONB2_CONFIG, onboarding, onboarding 2.0, 2.0, hire/rehire configuration object, Generate Employee ID for Hire/Rehire scenario,Rule for Onboarding User ID Generation ,skip, sequence , KBA , LOD-SF-EC-INT , Manage Pending Hires (Integration RCM/ ONB/ OBX + UI) , LOD-SF-OBX , Onboarding 2.0 , LOD-SF-EC-INT-OBX , Onboarding 2.0 to EC Integration , How To
SAP Knowledge Base Article - Public