Symptom
Absence validation rule has been configured for time types to restrict employees from making edit and cancel actions for approved absences is triggered only on Edit action but not during Cancel scenario
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 Employee Central 2.0
- SAP SuccessFactors Employee Central Time Off
- v12 UI
Reproducing the Issue
1. Login as an employee then request for an absence and have it approved per workflow process.
2. Once absence has been approved, go to Time Off page then cancel the request.
Error message as defined in the absence validation rule is not raised and the absence is successfully cancelled.
Cause
Incorrect rule parameter is used in the IF condition of the absence validation rule. 'Employee Time' parameter does nold the original approval status of approved absences, instead 'Edited Employee Time' parameter must be used.
Resolution
Update the rule configuration and change the rule parameter used from 'Employee Time' to 'Edited Employee Time' and ensure that the take rule parameter conditions for Processing Action is defined before the Edited Employee Time condition.
Keywords
Take Rule, Absence Validation, Employee Time, Edited Employee Time, Edit, Cancel, Approved Absence, Time Off, ESS, Request Time Off, ECT-88456, , KBA , LOD-SF-EC-TIM , Time Off , Problem