Symptom
-
The “Change Field Visibility, Editability, and Required Status on Forms” business rule does not function correctly to change field visibility for certain custom fields when a field value changes.
-
The rule triggers only when the form is saved or submitted, and not immediately upon the field value change.
Environment
- SAP SuccessFactors Employee Central
- SAP SuccessFactors Performance Management
Reproducing the Issue
-
Create a PM Form template that includes multiple sections and fields.
-
Configure a business rule using the scenario “Change Field Visibility, Editability, and Required Status on Forms.”
-
Within the rule, set a condition where selecting a specific value in one custom field should dynamically hide or make visible other custom fields in a different section.
-
Launch a new form, open the form and select the custom field value (as defined under "If" statement in the business rule) that should trigger the other custom field visibility change.
-
Observe that the dependent fields remain visible until the form is saved or submitted, rather than updating immediately on the custom field value change.
Cause
The issue occurs because the custom element in the PM form XML configuration file is missing a valid ekey value.
An example of incorrect configuration:
<fm-element index="1" type="4" mime-type="plain-text">
<ekey><![CDATA[]]></ekey>
<ename><![CDATA[Custom Element]]></ename>
<evalue><![CDATA[]]></evalue>
<text-size>0</text-size>
<text-maxlength>0</text-maxlength>
</fm-element>
Resolution
- Add the "ekey" value for the custom element in the PM Form template.
- Relaunch the form to verify that the issue is resolved.
- Ensure all custom elements interacting with business rules have the "ekey" value configured to avoid future issues.
See Also
Keywords
change field visibility, required status on forms, custom field issue, ekey configuration, PM form template, field change, business rule, sap successfactors performance management, form save, field visibility, inconsistent trigger mechanism, details of disclosure field, empty ekey, XML content file , KBA , LOD-SF-PM-ADM , Admin Center, RBP, Permissions and Settings , Problem
SAP Knowledge Base Article - Public