SAP Knowledge Base Article - Preview

3753488 - "Error happened when invoking rule function: getAgeOfDependentInMonths, root cause: null" is encountered after introduction of Country/Region-Specific Dependent Configuration – 1H 2026

Symptom

- A user has at least 1 dependent in their Dependents portlet.

- A business rule has been configured which uses the 'Get Age of Dependent in Months()' rule function, where a value is provided for the User ID parameter of the rule function. There is no value provided for the Country/Region parameter.

- It is mentioned in the Introducing Country/Region-Specific Dependent Configuration | SAP Help Portal What’s New Viewer, that for rules that retrieve dependent data "if User ID is provided (with or without Person ID) and the country/region field is empty, the system uses the user's country/region to determine the dependent's country/region”. However, the rule still fails to retrieve the country/region, thus causing the error, "Error executing rule XXX: ERROR_RULE_FUNCTION - Error happened when invoking rule function: getAgeOfDependentInMonths, root cause: null. Please check rule definition."

Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.
 


Read more...

Environment

SAP SuccessFactors Employee Central 1H 2026

Product

SAP SuccessFactors Employee Central 2605

Keywords

KI1H2026, ECT-272367, Error happened when invoking rule function: getAgeOfDependentInMonths, root cause: null. Please check rule definition, Error executing rule XXX: ERROR_RULE_FUNCTION - Error happened when invoking rule function: getAgeOfDependentInMonths, root cause: null. Please check rule definition, Get Age of Dependent in Months(), country specific , region specific, business rule, rule, custom rule
, KBA , LOD-SF-EC-DPD , Dependents Management , LOD-SF-EC , Employee Central , LOD-SF-EC-TIM , Time Off , Known Error

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.