Symptom
oninit rule setting field visibility to none is not working in Add New Employee.
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 Employee Central
Reproducing the Issue
- Configure an onInit business rule intended to set specific fields’ visibility to None in the Add New Employee wizard.
- Start the Add New Employee process and provide values that should satisfy the rule conditions.
- Observe that the target fields remain visible.
Cause
Improper rule configuration.
Resolution
It is necessary to set Address Type and Country as well in the Set part. A sample rule is as follow:
Keywords
oninit, field visibility none, add new employee, rule not working, hide fields, ec, address fields, business address, rule condition not met, visibility, per adr, address type , KBA , LOD-SF-EC-HIR-NEW , Add New Employee Wizard , LOD-SF-EC-PER-ADR , Home Adress - Config, Rules, RBP, UI , Problem
SAP Knowledge Base Article - Public