2522119 - Error while applying leave

SAP Knowledge Base Article - Public

2522119 - Error while applying leave

Symptom

Error execution rule while applying leave

Environment

Successfactors - Employee Central

Reproducing the Issue

- Navigate to Time off

- Apply leave, an error appears as 'Error Executing Rule...' Error: could not access: EmploymentDetails; Since missing instance of EmploymentDetails] . Please check rule definition.

10.jpg

Cause

This is due to invalid configuration in the Take rule assigned to the particular time type. The fields in job information should be accessed using the Employee Time root object (Employee Time.User...)

12.jpg

Resolution

 The rule was configured as below:

Keywords

ERROR_RULE_EXPRESSION Error Executing Rule could not access Time off Please check rule definition , KBA , LOD-SF-EC-TIM , Time-Off , Problem

Product

SAP SuccessFactors HCM Core 1705 ; SAP SuccessFactors HCM Suite all versions