SAP Knowledge Base Article - Public

3624028 - Error when Requesting Time Off Using Block Leave Counter rule

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

  1. Click on the Request Time off quick card (or go to ESS or MSS Time Off UI)
  2. Attempt to request an absence on the new hires very first working day.
  3. 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

Product

SAP SuccessFactors Employee Central all versions