SAP Knowledge Base Article - Public

3514342 - onChange visibility rule is not working when onInit visibility rule is also enabled - Onboarding

Symptom

  • In Onboarding page (e.g. New Hire Data), onChange visibility rule is not working correctly if onInit visibility rule is enabled at the same time.
    • Rule trace log will show onChange rule is also working, yet the field in UI failed to behave as per rule condition.
          
  • If disable onInit visibility rule and only enable onChange visibility rule, then it can work correctly.


See sample configuration below:

Test Element Used: personalInfo > Preferred Language & Preferred Name

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 Onboarding

Reproducing the Issue

  1. Configure onChange & onInit visibility rule (as above sample picture)
  2. Go to Manage Business Configuration > personalInfo
  3. Configure onInit rule under personalInfo entity & onChange rule under test field (here "Preferred Language")
  4. Go to Onboarding dashboard
  5. Select a candidate > New Hire Data:
    • Scenario 1: Only enable onChange visibility rule >> onChange rule is working correctly
    • Scenario 2: Only enable onInit visibility rule >> onInit rule is working correctly
    • Scenario 3: Enable both onChange & onInit visibility rule >> only onInit rule is working correctly; onChange rule is not working
          

Cause

Expected behavior due to product limitation.

Resolution

Raise enhancement request in the Customer Community:

2090228 - How to submit enhancement ideas for SAP SuccessFactors Products - SAP for Me

See Also

2090228 - How to submit enhancement ideas for SAP SuccessFactors Products - SAP for Me

Keywords

SAP, SuccessFactors, Onboarding, onInit, onChange, visibility, rule, Manage Business Configuration, New Hire Data , KBA , LOD-SF-OBX-ADM , Admin UI , LOD-SF-OBX-NHR , Onboardee Data Review , Product Enhancement

Product

SAP SuccessFactors Onboarding all versions

Attachments

Pasted image.png
Pasted image.png