Symptom
A particular leave type should not be applied on a Monday or a Friday, when the work schedule has Saturday and Sunday defined as weekend.
Environment
SuccessFactors Employee Central; Time Off
Resolution
The rule can be configured in the following manner:
The condition with Get Number of Calendar Days() is to check for scenarios where the start date or the end date of the leave request does not fall on a Friday or a Monday but the leave actually contains a Friday or a Monday. In that case the leave taken will always include the weekend. Hence we are checking whether the number of calendar days applied is more than the number of working days between start date and end date. If it is greater it should throw an error.
The scenario can only work if Saturday and Sunday are weekly off as per work schedule. The rule can be changed as per requirement.
Keywords
Employee Central, Take Rule, Time Off, Leave, Monday, Friday, Absence Validation , KBA , LOD-SF-EC-TIM , Time Off , How To