Symptom
When the company value is reselected in the Job Information section, the field property that was set by an OnChange rule unexpectedly resets.
Environment
SAP SuccessFactors - Employee Central
Reproducing the Issue
- Configure a custom field A under job information, with visibility non editable.
- Configure a onChange rule to set visibility for the field to Editable, based on event reason selected.
- Navigate to user profile.
- Take action -> change job information.
- Choose the event and event reason. Observe the field visibility changes to Editable.
- Select the company value to new value.
- Field visibility will become view only even though there is no rule to set visibility.
Cause
Changing company is a kind of initialization of the job information page and a field property set by an onChange rule will not persist after the company is changed. It will refetch everything and then apply the rules. There is a special logic for the company field hence this behavior would not happen with other fields.
Resolution
This is an expected behavior of the system.
See Also
2507511 - Field visibility using an onView rule does not switch immediately
Keywords
Field visibility, Onchange rule, event reason, company value, job information, Onview rule, manage business configuration, business rule, event, reset, HRIS element, INC10673174 , KBA , LOD-SF-EC-JOB-RUL , Job Info Business Rules , Problem