SAP Knowledge Base Article - Public

2547241 - Custom MDF: Cannot query data for pending records via API

Symptom

  • Cannot query data for records pending approval in MDF via API
  • How to query data for approval pending records in MDF via API

Environment

  • SuccessFactors Cloud HCM: MDF
  • SuccessFactors Cloud HCM: MDF Odata API
  • SuccessFactors Cloud HCM: MDF Workflows

Reproducing the Issue

When querying the data for an MDF object, only the approved records are retrieved

Cause

Only the users who have access to Admin access to MDF OData API will be able to query data for pending records.

Resolution

  • Go to Manage Permission Roles --> Permission
  • Select Metadata Framework --> Enable Admin access to MDF OData API

     2547241_1.PNG

  • To query the record for Pending data use the query as below:
    https://apisalesdemo4.successfactors.com/odata/v2/cust_userDetails_2?recordStatus=pending

Keywords

MDF: Metadata Framework MDF workflows Odata API , KBA , LOD-SF-MDF-API , MDF OData , LOD-SF-MDF-WFL , MDF Workflows , How To

Product

SAP SuccessFactors HCM Core all versions