SAP Knowledge Base Article - Public

2812743 - Compensation & Variable Pay - Error message when generating statements "There is one or multiple sub tasks failed. Inside throwable is for last exception"


When generating Compensation Statements the following error message causes the job to fail:

This scheduled job failed to complete. For details, please contact SuccessFactors customer support.

com.successfactors.jobscheduler.ScheduledJobExecutionException: 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**


  • SAP SuccessFactors Compensation
  • SAP SuccessFactors Variable Pay

Reproducing the Issue

1. Complete Compensation worksheets.

2. Generate Compensation Statements from a standard Compensation Statement Template.

3. Review the job status from Monitor Compensation Jobs and notice the error message causing failure of the job.


This can be caused by one of the following reasons:

Body of text

The Compensation Statement has text in the body of the where the parameter (token) are configured as follows:

$First Name and $Last Name

Variable Conditions

If there are conditions on sections in the template which reference incorrect template ID's or have no values.

This can mainly occur on combined statements.


Body of text - Fix

To correct this you should correct the xsl:parameter (token) to be configured as follows:

$FIRSTNAME or $LASTNAME instead of $First Name and $Last Name

Subsequent to this change Compensation Statements will generate successfully.

Variable Conditions - Fix

Check the statement section conditions and ensure the template is correctly mapped to a valid column.

To view statements go to Compensation Home> Action for all plans> Manage Statement templates> Select your template.

Select the pencil icons on the sections. Mainly, this issue occurs on conditions from the text sections.

edit statement sections.png

Here you should be able to see the template name, column and value for the condition.

Ensure you have a populated template name as well as a column name.

statement conditions.png

See Also

2084847 - Compensation Statements- Advanced Configuration using .xsl files

2084848 - Compensation & Variable Pay - Costs and Process to Personalize Statements


compensation statements, token, xsl configuration, statements, personal statements, generation error, sub tasks failed, throwable exception, ScheduledJobExecutionException , KBA , LOD-SF-CMP-PS , Personal Statements , LOD-SF-CMP , Compensation Management , LOD-SF-VRP-PS , Personal Statements , LOD-SF-VRP , Variable Pay Programs , Problem


SAP SuccessFactors Compensation all versions ; SAP SuccessFactors HXM Core all versions