SAP Knowledge Base Article - Public

3221160 - Cascading Picklist - Error "<field name> is required" even the field is populated by business rule - Recruiting Management

Symptom

The issue occurs to cascading picklist fields for which you have used a business rule to populate default values.

  • (When the field is required) Error "<field name> is required" even the field is populated by business rule.
  • (When the field is not required) Some of the child picklists are no selection after saving.

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 Recruiting Management

Reproducing the Issue

*The example is onChange business rule.

  1. Configure a business rule to populate cascading picklist fields;
  2. Set the business rule as field change rule;
  3. On job requisition, change the associated field to trigger the business rule;
  4. Confirm that all cascading picklist fields are populated;
  5. Try to save the change;
  6. Error "<field name> is required" even the field is populated.

[Example]

Business rule:

filter9 (parent) <- filter10 (child of filter9) <- filter11 (child of filter10) <- filter12 (child of filter11)

Manage Rules in Recruiting:

Cause

When rule is executed, cascading picklist elements are updated in random order.

It could happen that the child picklist is set first and then the parent picklist. In this case, the child picklist will be reset.

Resolution

We will fix the issue in production as part of 2H 2022 release (b2211).

Workaround

There are three workarounds.

  1. Manually select the picklist value again.
  2. Trigger the business rule once again. This is applicable for both onChange and onSave rules.
  3. Create one business rule per picklist field and set the rules as field change rules.
    • The 1st picklist is still onChange of the original field trigger.
    • For the rest picklists, the child picklist is onChange of the parent one.

[Example]

Business rule 1: filter9 (parent)

Business rule 2: filter10 (child of filter9)

Business rule 3: filter11 (child of filter10)

Business rule 4: filter12 (child of filter11)

Manage Rules in Recruiting:

*Business rule 1 populates the 1st picklist (filter9).

*Business rule 2 populates the 2nd picklist (filter10) based on the change of the 1st picklist.

*Business rule 3 populates the 3rd picklist (filter11) based on the change of the 2nd picklist.

*Business rule 4 populates the 4th picklist (filter12) based on the change of the 3rd picklist.

Keywords

INC1485872, RCM-109040, business rule, picklist, cascading, parent, child, required, not saved, save, change, onChange, onSave , KBA , LOD-SF-RCM-RUL , Recruiting Rule Issues with MDF Platform , Bug Filed

Product

SAP SuccessFactors Recruiting all versions