SAP Knowledge Base Article - Public

3574385 - Onchange rule behavior after reselecting company value

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

  1. Configure a custom field A under job information, with visibility non editable.
  2. Configure a onChange rule to set visibility for the field to Editable, based on event reason selected.
  3. Navigate to user profile.
  4. Take action -> change job information.
  5. Choose the event and event reason. Observe the field visibility changes to Editable.
  6. Select the company value to new value.
  7. 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

Product

SAP SuccessFactors Employee Central all versions