Symptom
Customers are receiving the following error message when they apply the Eligibility Rules in Compensation:
[ERROR CODE]: ERROR_NO_RULE_EXECUTION_CONTEXT, [ERROR INFO]: Rule execution context is null, either because CompInfo is not a valid object or CompInfo has no corresponding instance."
"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
SAP Successfactors Employee Central
Reproducing the Issue
- The Compensation Template will be EC Integrated.
- Create a Compensation Eligibility Rule as shown below.
- Connect this rule to the Compensation Eligibility Engine on the Template and apply the rules, the error will then get triggered.
Cause
- It is not supported to use other parameters in EC rules.
- Instead we have support for navigation between employment entities and that should serve the purpose in this type of scenario.
Resolution
- The configuration of the rule will need to change.
- Instead of passing compInfo as a parameter, you can navigate from jobInfo as below to access compinfo details:
- job information.employment details.compenation information.event reason.
Keywords
Business Rule, Compensation, Employee Central , KBA , LOD-SF-CMP , Compensation Management , Problem
Product
SAP SuccessFactors Compensation all versions ; SAP SuccessFactors HCM Core all versions