Symptom
Field visibility using an onView rule does not switch back to the initial view when changes are made in the same session.
"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
- SAP SuccessFactors HCM Suite
Reproducing the Issue
- When an 'onView" business is set on a field visibility as example below:
- And when the field value is switched, the rule appears to be working fine:
- But when the field is switched back to another value in the same session, the behaviour doesn't seem to change dynamically:
Cause
This behavior is working as designed. Please note that onView rules are not triggered dynamically within the same session when changes are made in the section.
Resolution
When a field is hidden through an onView rule, an onChange rule cannot subsequently make it visible again within the same session.
See Also
2802383 - OnChange Rule Do Not Work After The OnInit Rule Is Triggered In The Add New Hire Page
Keywords
SF, EC, SuccessFactors, Employee Central, onView, field, visible, visibility, rule, show, display, appear, business rule, change, take effect, modify, edit, switch, onview, rules, field, ECT-38475, none, both , KBA , LOD-SF-EC-JOB-RUL , Job Info Business Rules , LOD-SF-EC-PER-PRS , Personal Info - Config, Rules, RBP, UI , Problem
SAP Knowledge Base Article - Public