SAP Knowledge Base Article - Public

2596149 - Update a Job Application via ODATA when multistage application is used - the system requires to fill any mandatory field, even those one hidden in that specific status - Recruiting Management

Symptom

When doing an upsert to update to an existing Application ID in a multi stage application instance, in response an error requires that all the mandatory fields should be provided even the hidden fields in that status the applicant is placed on.

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 Recruiting Management

Reproducing the Issue

Update a JobApplication using ODATA upsert without providing the mandatory fields.

Cause

This is the design of the system, Odata does not currently support multistage application process.

Resolution

Since the system is design to validate all the mandatory fields, there is no way to make the update without providing it. There is a possible workaround that requires a configuration change in the job application xml and job requisition.

  1. Update the Application Template and set to required="false"  all fields which is being validated while upserting via API;
  2. Update the Job Requisition Template including the code: required="true" for the same fields;

    solution.png
  3. With this configuration change, the API will validate the job application template as design but it will not have any required field. This change enables to run update calls with any desired field. The UI will still validate the required fields using the job requisition template what will produce the same user experience.

Keywords

ODATA, Upsert, Multistage, Mandatory fields , KBA , LOD-SF-RCM-INT , Integration Center & Intelligent Services , LOD-SF-RCM , Recruiting Management , Problem

Product

SAP SuccessFactors Recruiting all versions