Symptom
We have a business rule which use the function Get Number Of Holidays For Period(), this rule used to work fine without any error.
But now, when editing it, an error occurred which mentions the weekday parameter of this function cannot be null.
Environment
SAP SuccessFactors Employee Central: Business Rules
Reproducing the Issue
- Navigate to Configure Business Rule
- Try creating Time Off rules with the Rule function "Get Number Of Holidays For Period()"
- NULL is missing to set against Weekdays parameter, even existing rule function throws error for NULL value
Cause
NULL is not supported for Weekdays Parameter
Resolution
If you want the system to consider Holidays for all the weekdays, then kindly add weekdays parameter separately for Monday, Tuesdays, Wednesday, Thursday, Saturday & Sunday.
Keywords
Get Number Of Holidays For Period(), Weekdays Parameter NULL, NULL, Invalid Weekdays.
, KBA , LOD-SF-EC-TIM-RUL , TAT Rules, Validation & Take rules , LOD-SF-EC-TIM , Time Off , Problem