SAP Knowledge Base Article - Public

2507511 - Field visibility using an onView rules - Employee Central

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

  1. When an 'onView" business is set on a field visibility as example below:
    1. s1.JPG
    2.  
  2. And when the field value is switched, the rule appears to be working fine:
    1. s2.JPG
    2.  
  3. But when the field is switched back to another value in the same session, the behaviour doesn't seem to change dynamically:
    1. s3.JPG

 

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

Product

SAP SuccessFactors Employee Central all versions ; SAP SuccessFactors HCM Suite all versions