SAP Knowledge Base Article - Public

3509961 - Apply eligibility rule failed due to ScheduledJobExecutionException - Compensation & Variable Pay

Symptom

The job “Apply Eligibility Rule” fails with the following status message:

com.successfactors.jobscheduler.ScheduledJobExecutionException:

com.successfactors.compensation.util.exception.CompensationEJBException: Exception while CompMiscUtil.applyEligRule: ; nested exception is:

com.successfactors.jobscheduler.ScheduledJobExecutionException: There is one or multiple sub tasks failed.  Inside throwable is for last exception.

**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 Variable Pay

Reproducing the Issue

  1. Go to compensation Home
  2. Choose one template
  3. Plan setup->Plan details->Eligibility
    Eligibility Route Step.png
  4. Choose one eligibility rule
  5. Click apply and show the error message
    Error Message.png
  6. In the upper right corner, click Monitor all jobs in the dropdown list.
  7. The "CompApplyEligRule_AdminApplyEligibilityRule" job failed.
    Job Status.png
  8. In provisioning, the job detail shows the error message as below.
    Job Detail.png

Cause

In compensation eligible rule, It is not supported to choose jobinfoModel as base object.

Job info Model.png

Resolution

  1. Go to Configure Business Rule->Select the rule you use.
  2. Edit the Rule:
    Edit Rule step.png
  3. Click the pencil icon on the right side of Parameter:
    Edit Parameter.png
  4. Click the delete button to delete Job info model parameter:
    Delete Parameter.png
  5. If you do not have the delete button on the right side of parameter as below then You can skip to step 6.
    Can not delete.png
  6. Please Create a new rule which based on the Base object we support in Compensation Eligibility Rule. Only the Job History, Compensation Information, Employment Details, and Personal Information are supported to be setting as Base object in Compensation and Variable Pay eligibility rule Scenario. And also the Job info in Basic scenario. 
    Scenario Comp.png

    Correct Base Object.png

Keywords

Eligibility Rule, Compensation, Business Rule, Job Info Model, Base object, Job information, Job History, Compensation Information, Employment Details, Personal Information, Variable Pay, Change Scenario, Basic Scenario , KBA , LOD-SF-CMP-EC , EC data, EC mappings, configuration & settings , Problem

Product

SAP SuccessFactors Compensation all versions

Attachments

Pasted image.png