Symptom
You have configured the Block Leave Counter as per the Mandatory Block Leave Scenario blog post
However, you are receiving the following error when attempting to request an absence on the user's very first working day;
Rule "RuleName execution failed with error "Invalid Lookup criteria EmployeeTime.endDate >= Null."
Environment
SAP SuccessFactors Employee Central > Time Off
Reproducing the Issue
- Click on the Request Time off quick card (or go to ESS or MSS Time Off UI)
- Attempt to request an absence on the new hires very first working day.
- See that the error occurs
Cause
- In an IF statement block, if a variable is used, the values of that variable is calculated first
- As there is no 'Previous Working Day' for attendance recorded on hire date, the rule fails
Resolution
- To resolve the issue, instead of using variables, the lookup function needs to be used directly in the IF statements.
- On doing so, the IF condition checking for classification absence will be considered first.
See Also
Mandatory Block Leave Scenario - Blog Post
Keywords
execution failed with error "Invalid Lookup criteria EmployeeTime.endDate >= Null.", Rule execution failed with error, block leave counter, block leave counter error, Invalid Lookup criteria EmployeeTime.endDate >= Null. , KBA , LOD-SF-EC-TIM-UI , Team Absence Calender/ Workbench/ ESS UI's , Problem