Symptom
- A custom MDF object is experiencing an issue where the direct manager's comment field does not function correctly.
- When the direct manager fills the comment field, an error message is triggered, indicating an incorrect validation rule.
- The issue occurs during the approval workflow process whose request is pending with the direct manager.
- The error persists even after the comment is added by the direct manager.
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 HCM Suite
Reproducing the Issue
- Login to the SAP SuccessFactors instance.
- Navigate to the custom MDF object via approving request in homepage
- Assign the request to the direct manager.
- Direct manager fills the comment field and attempts to approve the workflow.
- Observe the error message triggered despite the comment being filled.
Error: Please Update the Comment field and approve the workflow
Cause
The "General Comment" box is part of the default workflow and cannot be customized or included in the onSave rules to make it mandatory. The error occurs because the onSave rule requires comments from specific approvers, and the workflow fails if these fields are left blank.
Resolution
- Confirm that the "General Comment" box is part of the default workflow and cannot be customized or included in the onSave rules. (Red box)
- Ensure that the approver's comment field specific to an approver is filled to meet the onSave rule requirements. (Green box)
- If the error persists, create validation rules for specific approvers to ensure their respective comment fields are filled.
- Test the workflow after implementing the validation rules to confirm functionality.
See Also
Keywords
custom MDF object, clearance form, validation rule error, direct manager comment field, workflow approval error, onSave rules, SAP SuccessFactors Onboarding, approver's comment field, mandatory comment field, error message , KBA , LOD-SF-MDF-RUL , Custom Oject based Business Rules , How To
SAP Knowledge Base Article - Public