Symptom
- Fields in Add New Employee Wizard not populated by Business Rules when hidden.
- onChange or onSave Business Rules not propagating values to hidden fields in Add New Employee Wizard.
- We have defined onChange or onSave Rules to update fields that are not visible to some of our employees
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 – Business Rules
Reproducing the Issue
Scenario A: Add New Employee
- Check the rule that propagates information in the New Hire Wizard. Select a field for testing purposes.
- Create a new onInit Rule that will hide one of the fields. For this example, we will use ‘Job Title’.
- Using the Add New Employee Wizard add a new user. Make sure that the field is hidden. ‘Job Title’ should appear between ‘Job Classification’ and ‘Pay Grade’.
- Once the user has been created, navigate to their profile and see if the selected field has any value. Job Title in this case has no value.
Scenario B:
- Some fields are not permissioned to the end user
- Propagation Rules are defined to update this hidden field
Cause
This is currently an expected behaviour and system design i.e hidden fields cannot be set with values using onChange rules.
Resolution
In Add New Employee:
- Remove the visibility rule and the field will propagate as normal.
- Set the visibility of the field to view. The value will still propagate, but the user will be unable to change it.
For MSS / History Scenarios:
- There is need to grant at least 'View' access to the field being updated.
See Also
Keywords
New Hire Wizard, Propagate, Business Rules, Populate, Field, Hidden Field, Visibility, onInit, onChange, Propagation XML rule, ECT-43886 , KBA , field , visibility , business rules , hidden field , new hire wizard , oninit , propagate , populate , LOD-SF-EC-HIR-NEW , Add New Employee Wizard , How To