Symptom
A Business Rule created to hide fields in the 'Address Information' section of the 'Add New Employee' wizard is not working correctly, and the fields are displaying regardless.
Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.
Environment
- SAP SuccessFactors HCM Suite
- SAP SuccessFactors Employee Central
Reproducing the Issue
- Create a onInit business rule and assign it to Home Address in Manage Business Configuration;
- Go to the 'Add New Employee' wizard > Navigate to the 'Personal Information' section > 'Address Information';
- Note the selected fields are not hidden and the rule is not triggered in the rule trace.
Cause
This behavior is currently expected within the system. At this time, the system does not support OnInit rules from triggering initially for Address Information. Specifically, this means that the rule does not activate automatically when the page first loads.
Resolution
There is an open Enhancement Request to handle this behavior in the future tracked via ECT-40477.
For now, you may set the field properties from Manage Business Configuration and that is the behavior to be followed from Add New Employee wizard.
Keywords
Address Information, Business Rules, Add New Employee, homeAddress, Hide Fields, Personal Information, ECT-40477, hide address field, new hire, business rule, oninit, address information, home address rule, employee central, successfactors, required field , KBA , LOD-SF-EC-HIR-NEW , Add New Employee Wizard , LOD-SF-EC-PER , Person Data (All Person Data Types) , Product Enhancement
SAP Knowledge Base Article - Public