Symptom
An error message intended to block the user from withdrawing a pending leave request is not displayed correctly during workflow withdrawal.
Environment
SAP SuccessFactors Employee Central - Time Off
Reproducing the Issue
- Proxy as a user.
- Apply for annual vacation leave and ensure the request is in pending approval status.
- Open the Pending Workflow Requests.
- Open the leave request workflow and withdraw the request.
- Blank Error message is displayed
- Intended error message via the Employee Time rule is not displayed
Cause
This is a known system limitation: onSave/Validate rules assigned in the Employee Time object to raise errors or warnings are not supported.
The system throws a validation error message if you try to assign such rule in the Employee Time object and Save.
Error: You cannot assign business rules rules that raise an error or warning message. Please unassign these rules (XXXXX) from the Employee Time object definition. For validations, you can assign Take rules to a time type.
Resolution
Please submit an enhancement request via the Customer Influence portal.
See Also
Keywords
time off, withdraw workflow, leave request, annual leave, cancellation, error message not displayed, employee time, onsave rule, validate rule, absence validation, take rule, block withdrawal, workflow approval page, time management alerts, rule scenario , KBA , LOD-SF-EC-TIM-RUL , TAT Rules, Validation & Take rules , LOD-SF-EC , Employee Central , LOD-SF-EC-TIM , Time Off , Product Enhancement
SAP Knowledge Base Article - Public