Symptom
When mandatory fields are set to visibility - "None"/"View" by OnInit rule on Add New Employee screen, below error is shown.
Error: "A" is a required field and cannot be blank.
CS switch: “Enable Centralized Services to Add New Employee, Add New Employee for Fixed Term, and Rehire Inactive Employee"
Environment
SAP SuccessFactors Employee Central: Add New Employee
SAP SuccessFactors Employee Central: Centralized Service
Reproducing the Issue
- In Admin Tools -> Company System and Logo Settings, the switch " Enable Centralized Services to Add New Employee, Add New Employee for Fixed Term, and Rehire Inactive Employee “ is enabled.
- Set the field ABC as mandatory in BCUI > Employment Information, Job Information.
- Create OnInit rule to Hide the field – ABC.
- Go to Add New Employee.
- Fill all the required fields.
- Click Submit > Error is shown.
- Result: “ ABC is a required field and cannot be blank. “.
Resolution
- Our engineering team is currently working on a fix for this issue.
- This KBA will be updated once there are further details on the fix.
- Workaround: Disable "Enable Centralized Services to Add New Employee, Add New Employee for Fixed Term, and Rehire Inactive Employee" from Company System and Logo Settings. Please don't forget to re-enable the Centralized Services switches after the issue is fixed so that you can continue to enjoy the benefits of Centralized Services
Keywords
CS2H2023, KI2311, INC6612203 , centralized services, Enable Centralized Services to Add New Employee, Add New Employee for Fixed Term, and Rehire Inactive Employee, hire error, Mandatory fields, onInit rule, visibility set to none, hide field, view, fields are hidden by rule, release, Add New Employee, 2H2023, is a required field and cannot be blank , KBA , LOD-SF-EC-HIR-NEW , Add New Employee Wizard , LOD-SF-EC , Employee Central , Bug Filed