SAP Knowledge Base Article - Public

2918571 - Draft Applications are Pulled When You Run a Get Query on the JobApplication API Without Filters - Recruiting Management

Symptom

The API mentioned :  JOB_APPLICATIONS_API = '/odata/v2/JobApplication' will pull all applications, including the Draft application.

The Draft applications are ones which are not available in the UI, the candidate has saved it but not applied/submitted the form.

The Ad Hoc reports do not show the "draft" or incomplete applications that applicant saved without actually submitting for a requisition.

Those applications are also invisible in Candidate Central as well.

Environment

SAP SuccessFactors Recruiting Management

Reproducing the Issue

Run an open get query to fetch details from the applications on your instance using a sample query (https://instance.com/odata/v2/JobApplication )

and you will see that there might be more number of applications than the ones present under your requisitions on your instance or Adhoc reports.

These are potentially, the draft applications and they never show up in our UI, reports etc they will only be shown for the external candidate who created it and saved it but has not submitted/applied it yet.

Cause

Our Product Management team has confirmed that this is an expected behavior while using the oData query that the draft application data will also be pulled along with the others.

Remember OData is being used as a data extraction tool by some companies and it make sense to show draft applications for users like sfadmin (who has JobApplication export permission)

Resolution

At the moment the explicit filtering by status is the only way to exclude applications in the Draft status.

This is the standard behavior since it is a broad functionality that involves the raw data transfer directly from the database.

The intention is to provide customers wide flexibility on what data they desire and allows customers to make the filtering decisions according to their business needs.

Filter job applications based on status filter. See the below example query to fetch all the applications whose status is not equal to 6 (6 corresponds to draft applications internal status code)

https://instance.com/odata/v2/JobApplication?$format=json&$top=100&$select=status&$filter=status ne 6

This is a sample query, customer needs to replace with their URL.

See Also

2251702 - OData API Integration with Recruiting Management

Keywords

JobApplication API, JOB_APPLICATIONS_API, Draft, applications, OData API query , KBA , LOD-SF-RCM-API , Webservices & APIs , Problem

Product

SAP SuccessFactors Recruiting all versions