2571593 - Error when updating candidate status field in Job Application using API - RCM

SAP Knowledge Base Article - Public

2571593 - Error when updating candidate status field in Job Application using API - RCM

Symptom

An error is displayed when updating candidate status field in job application using any API integration.

<result> <jobStatus>ERROR</jobStatus> <message /> <objectEditResult> <id>###</id> <errorStatus>ERROR</errorStatus> <editStatus>NOEDIT</editStatus> <index>0</index> <message>Service Error occured while update the jobApplication with the id : ###</message> </objectEditResult> <objectEditResult> <id>###</id> <errorStatus>ERROR</errorStatus> <editStatus>NOEDIT</editStatus> <index>1</index> <message>Service Error occured while update the jobApplication with the id : ###</message> </objectEditResult> </result> </updateResponse> </S:Body> </S:Envelope>

Candidate status field on screen:

candidate status.png

Environment

SuccessFactors Recruiting Management (RCM) - All versions

Reproducing the Issue

Run an API call to update the candidate status field (statusId) in job application.

Cause

The statusId field (candidate status), is configured in the jobapplication template as a picklist field. As described in implementation guide, values auto-populate via the applicant status workflow set up in Admin Tools. However, the issue happens when the system does not have all the applicant status configured in the CandidateStatus picklist and an update call is performed on this field.

statusId standadard configuration:

statusId configuration.png

Resolution

As described in the implementation guide if the data in this field will be managed via API, set up and associate a picklist with values exactly matching the applicant status workflow set up in Admin Tools. In other words, all the status configured for applicant status configuration must be added to the linked picklist in this field.

Here an example of a MDF picklist with some applicant status:

candidatestatus picklist.png

If the instance is still using the legacy picklist, all the status must be configured in the picklist file as shown above for MDF.

Keywords

SFAPI, Odata, upsert, candidate status, statusID , KBA , LOD-SF-RCM , Recruiting Management , Problem

Product

SAP SuccessFactors Recruiting all versions