SAP Knowledge Base Article - Public

3638603 - User ID generation through business rule is not working

Symptom

  • A user id is being skipped by business rules. 
  • A user id for newly hired users is NOT generated through business rule assigned on Hire/Rehire configuration. 
  • A user id is generated from "Next Person Id assigned" in company system and logo settings. 

Environment

SAP SuccessFactors Employee Central: Business Rules

Reproducing the Issue

  1. Create a business rule to generate the User ID and assign it to the Hire/Rehire Configuration in Manage Data.
  2. Hire a new employee using the "Add New Employee" wizard.
  3. Observe the automatic generation of the User ID.
  4. If the User ID generated by the rule matches an existing User ID of user in the system, the User ID is generated from the company system and logo settings.

Cause

  • The business rule includes conditional checks for "Employee ID.UserID == null" in all IF statements.
  • When the rule executes for the first time, it generates a User ID - "ABC001". If this User ID - "ABC001" is already in use, the rule is executed again to generate the next sequence.
  • During the second execution, the "Employee ID.UserID" field is no longer null, causing the rule conditions to fail.
  • As a result, the system defaults to generating the User ID from the company system and logo settings.

Resolution

  • Our engineering team have confirmed that this behavior is expected and is as per system design.
  • If the user id generated by rule in first execution is already used by another user in the system then rule is executed again to generate the next sequence and if the "IF" statement in business rule is failed then User Id will be generated from "Next Person Id Assigned" from Company System and Logo Settings. 

See Also

Generating User IDs with Business Rules | SAP Help Portal.

Keywords

INC13969088, user ID generation, business rule failure, hire process issue, user ID null, employee ID, company system and logo settings, hire/re-hire configuration, rule execution, User id is skipped, Person Id is skipped, User id generated incorrectly, User Id generated is incorrect, Hire, Rehire.
, KBA , LOD-SF-EC-HIR-RUL , Business Rules , LOD-SF-EC , Employee Central , Problem

Product

SAP SuccessFactors Employee Central 2505