Symptom
- While attempting to create a business rule for a custom MDF object, the system is unable to fetch any fields in the business rules.
- When trying to add a field in the business rule, the entire statement is automatically cleared out.
Environment
SAP SuccessFactors HCM Suite
Reproducing the Issue
- Navigate to 'Configure Business Rules'.
- Attempt to create a new rule for a custom MDF object.
- When trying to add a field to the business rule, observe that the entire statement is automatically cleared out.
Cause
The issue arises due to the presence of line breaks (\\n) in the labels of some fields in the MDF object definition. The rule engine does not support line breaks in labels.
Resolution
- Navigate to "Configure Object Definition" and review the MDF object definition of the affected fields.
- Identify the fields containing a line break (\\n) in their labels.
- Delete the line breaks in the labels of the affected fields. Note that the line break character (\\n) is not visible in the MDF object definition UI. The "invisible" line break can be deleted by accessing the label field details and removing the extra space/line. The complete label should be displayed in one line afterwards.
See Also
Keywords
SAP SuccessFactors, MDF object, Business Rule, Line Break, Label, Configure Object Definition, Invisible Linebreak. , KBA , LOD-SF-MDF-RUL , Custom Oject based Business Rules , Problem
Product
SAP SuccessFactors HCM Suite all versions