Symptom
When creating an application via API, the applicants show as External instead of Internal as they should.
Environment
SAP SuccessFactors Recruiting Management
Reproducing the Issue
- Create a new Application for a Job Requisition;
- Confirm it was successful;
- Now access the Job Requisition and check the type of applicant(internal or external).
Cause
This is caused by the Candidate Id used on the creation of the Application to be referring to an External candidate, instead of Internal.
Resolution
The system used a combined key to create the Application for a candidate. The upsert is executed on the JobApplication entity, and the key is composed by:
- Job Requisition Id
- Candidate Id
Once the two ids are provided on the payload, the system will create the Job Application for the candidate, and the type of Candidate/Application will be determined automatically by the system accordingly to the type of candidate. If the candidate is Internal, the application will show as internal, once the candidate is external the application will show as external.
This is also true for the validation when a Job Requisition is only posted internally or externally, the validation will occur according to the Candidate Id provided.
Keywords
application, internal, external, create, api, integration, showing, wrong, candidate, requisition, instead , KBA , LOD-SF-RCM-API , Webservices & APIs , Problem