SAP Knowledge Base Article - Public

3491519 - Scenario based eligibility rule failing when lookup is used as a variable - 1H2024

Symptom

Eligibility rule does not work when we have lookup used in variable part of the Scenario based eligibility rule. We have error with jobInfo related conditions in rule:

Rule execution context is null, either because jobInfo is not a valid object or jobInfo has no corresponding instance

Environment

SAP SuccessFactors Employee Central: Employee Benefits

Reproducing the Issue

A rule sample below with variable having a lookup fails the rule execution:

Rule Trace:
Rule execution context is null, either because jobInfo is not a valid object or jobInfo has no corresponding instance...

Cause

Code Defect.

Resolution

  • Engineering is planning to patch the issue during p15 patch window (30 Jul- Preview, 1 Aug- Production). We shall update the KBA once the patch is confirmed.

Workaround: Use the lookup() as a direct function in the rules instead of placing it in variable and then using the variable in rules.

Keywords

Rule execution context is null, either because jobInfo is not a valid object or jobInfo has no corresponding instance, Scenario rule, Benefits rule, Eligibility rule, INC8766667, KI2405, b2405, PTCH-44458 , KBA , LOD-SF-EC-GBF , Global Benefits , Known Error

Product

SAP SuccessFactors Employee Central 2405