Get Number Of Months From Hire Date() is not working
Successfactors - Employee Central
Reproducing the Issue
1. Below is the rule that is confiured
2. The rule is assigned to Accrual Rule field in the Time Account Type.
3. On running the Accrual Calendar and checking the Business execution logs, the function is always returning Zero
This rule function(Get number of months from hire date) can only be used in the hire scenario (i.e in the Hire Rule)
If you have annually accounts from 1.1.-31.12. and you hire someone in june, you would get 7 months as result.
In the next year, the parameters for the rule function are e.g.
start date: 1.1.2018
end date: 31.12.2018
hire date: 1.6.2017
In this case the rule function cannot be used, because the hire date is not within the period.
Do no use this function in Accrual Rule.
Use it only in the Hire Rule.
Time off Get Number Of Months From Hire Date Rule function , KBA , LOD-SF-EC-TIM , Time Off , Problem