Symptom
-
SFOData.EmpJob entity is queried with UserId filter for employee
- Null data is returned for the same
Environment
Successfactors
Reproducing the Issue
Request:
https://<API_URL>/odata/v2/EmpJob?$select=userId,emplStatus&$format=json&$filter=userId eq 'abc'
Response:
{
"d" : {
"results" : [
]
}
}
Cause
JobInformation for this employee is not present, hence the "Null" response.
Resolution
-
This is expected behavior of SFOData.EmpJob entity
- This entity returns data only when the JobInformation is present for the Employee
Keywords
-
SFOData.EmpJob returns null data
- EmpJob entity does not return data in the response
Product
SAP SuccessFactors HCM Core all versions