SAP Knowledge Base Article - Public

2596478 - Business Rules Not Working On Hidden Fields - New Hire / Job Info / Comp Info / Personal Info

Symptom

  • Fields in Add New Employee Wizard not populated by Business Rules when hidden.
  • onChange Business Rules not propagating values to hidden fields in Add New Employee Wizard.
  • We have defined onChange Rules to update fields that are not visible to some of our employees in Job Information / Compensation Information / Personal Information / HRIS element portlet.

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

  1. Check the rule that propagates information in the New Hire Wizard. Select a field for testing purposes.
  2. step1SelectField.png

  3. Create a new onInit Rule that will hide one of the fields. For this example, we will use ‘Job Title’.

    step2CreateField.png

  4. 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’.

    step3FieldHidden.png

  5. 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.

    step4NoValue.png

Scenario B:

  • Some fields are not permissioned to the end user.
  • Business Rules are defined to update this hidden field.

Cause

This is currently an expected behavior 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

Implementing Employee Central Core - Standard and Model Base Objects for Employee Central

Keywords

New Hire Wizard, Propagate, Business Rules, Populate, Field, Hidden Field, Visibility, onInit, onChange, Propagation XML rule, ECT-43886, field, visibility, hidden field, oninit, propagate, Job Information, Personal Information, Address Information, Compensation Information, Business rule not working, field not updated, Field visibility = No selection, field not visible, Value not by rule , KBA , LOD-SF-EC-HIR-NEW , Add New Employee Wizard , LOD-SF-EC , Employee Central , LOD-SF-EC-JOB-RUL , Job Info Business Rules , LOD-SF-EC-PER , Person Data (All Person Data Types) , LOD-SF-EC-CMP-RUL , Business Rules , How To

Product

SAP SuccessFactors Employee Central 2505