Symptom
Customers may receive several error entries in their e-mail notification after applying the Eligibility Rules.
These errors are due to configuration issues.
Error:
The expression compInfo.employmentInfo.payComponentRecurring(#pay_20component=="9002"#)[0].XXXXXXX could not be evaluated completely as the property payComponentRecurring of employmentInfo is found to be NULL at compInfo.employmentInfo.payComponentRecurring}]
**Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental**
Environment
- SAP SuccessFactors Compensation
Cause
From the above screenshot we can see the values being used are noy returning any values. This can be due to these values either bieng missing or invalid.
Note
In the screenshot we see this is accosiated to the paycompvalue. in customer instances it will be the last field of the error message that in the header of this KBA I have substituted by XXXXXX
Resolution
To find what is happening with this field, you first need to review the Data Model to know which field is related to this field name.
This can be access from provisioning as well as checking in Manage Organisation, pay and job structure.
Once we know what field is causing this error, run an ADHOC report (Person and Employment Info (as of Date) Domain) for the field to know the values in the system for that field.
In this example, we are selecting UserID and Amount as well as including inactive Users as the error may be related to Inactive Users.
If the number of users showing the error is small, you can filter by these users as well.
This error we are seeing is expected and does not impact the application of the rule for the rest of users.
The solution for the error is to simply add a value for the impacted field for these users if the Eligibility Rule should apply to them.
Once the employee who were missing values have been updated, run your eligibility rule.
Keywords
Eligibility Rules, EC template, NULL, The expression compInfo.employmentInfo.payComponentRecurring(#pay_20component=="9002"#)[0].XXXXXXX could not be evaluated completely as the property payComponentRecurring of employmentInfo is found to be NULL at compInfo.employmentInfo.payComponentRecurring}] , KBA , LOD-SF-CMP , Compensation Management , LOD-SF-CMP-EC , EC data, EC mappings, configuration & settings , Problem