SAP Knowledge Base Article - Public

3067243 - [Onboarding] Error- ONB2_GOAL_TRANSFER: ExecutionException while upserting goals for process with applicantId: Error on field state This is a require

Symptom

When Candidate Goal task is completed, below error is displayed in BPE tile and candidate record went to error flow.

Error:

ONB2_GOAL_TRANSFER: ExecutionException while upserting goals for process with applicantId: com.successfactors.coengine.error.detail.COGeneralServerException: Error on field state This is a required field.

Environment

SAP SuccessFactors Onboarding 

Reproducing the Issue

  1. Login to instance 
  2. Complete the Goal task and Go to BPE tile in Home page to view the error

Cause

  1. Invalid configuration followed in Goal Management template XML.
  2. Setting the files as Required

Resolution

In this case issue is caused by the field state and this files is set as Required in GM template as shown below. 
 
 
So edit their goal plan template, and set the attribute required="false" to the state field .
In Onboarding we don not provide detailed goal description and metrics. We can only provide the goal name for each category (30day, 90day, 120day).
 
If error is caused by other field, then affected field displayed in error. Then edit the template the and make affected field required= false

Keywords

Goal Management, Goal Transfer, Error, ONB2_GOAL_TRANSFER , KBA , LOD-SF-OBX-BPE , BPE Process Flow , Problem

Product

SAP SuccessFactors Onboarding 2105