SAP Knowledge Base Article - Public

3643633 - Onboarding Custom Tasks REST API returns empty data when filtering by processId - Onboarding

Symptom

Getting '[]' result when using the /rest/onboarding/customtasks/v2/customTasks?$filter=processId eq 'processId' Onboarding Custom Tasks REST API.

Environment

SAP SuccessFactors Onboarding

Reproducing the Issue

  1. Use /rest/onboarding/customtasks/v2/customTasks?$filter=processId eq 'processId' Onboarding Custom Tasks REST API getting the Onboarding/Offboarding custom tasks data.
  2. Observe that the response returns an empty array, '[]'.

Cause

The API user lacks the required Onboarding or Offboarding Object permissions, Custom Task view/edit permission.

Resolution

  1. Ensure that the Onboarding or Offboarding Object Permissions, Custom Task view/edit permissions are enabled for the API user's permission role.
  2. The permission role of the API user should be assigned with target populations of external users.

See Also

Keywords

customtasks API, Custom Tasks REST API, onboarding API, processId filter, empty array, API permissions, Offboarding Object Permissions, Custom Task view/edit, ATS Integration, Custom Tasks API, API no data, Onboarding and Offboarding Custom Tasks API, customtasks , KBA , LOD-SF-OBX-ATS , ATS Integration , Problem

Product

SAP SuccessFactors Onboarding all versions