SAP Knowledge Base Article - Public

2604638 - SF OData API error expanding the wfRequestNav in custom MDF entity - SAP SuccessFactors HXM Suite

Symptom

You are trying to expand the WfRequestNav in a custom MDF using SF OData API, but the response show an error:

  • [COE0025] unsupported feature: Expand workflow navigation from normal data is NOT supported.

Environment

SuccessFactors OData API

Reproducing the Issue

Run your SF OData API query, similar with this one:

https://api4preview.sapsf.com/odata/v2/cust_XXX?$format=JSON&$expand=wfRequestNav&$select=wfRequestNav/wfRequestId

Cause

Wrong object definitions configuration and/or wrong OData query

Resolution

Our engineering team confirmed to us that this is the expected behavior (wfRequestNav can only be expanded for pending data).

Please try to use the following OData query instead:

  • /odata/v2/cust_XXX?$select=xxx$expand=wfRequestNav&recordStatus=pending

Also, make sure that your Admin Center > Object definitions of your custom entity is set with "Pending Data" equals to "Yes", example below:

wf01.png

See Also

MDF handbook page regarding recordStatus parameter

Keywords

error [COE0025] unsupported feature: Expand workflow navigation from normal data is NOT supported, Custom MDF entity, SuccessFactors OData HXM HCM API query in the custom MDF entity trying to get the pending data of wfRequestNav, Workflow pending data, recordStatus parameter , KBA , LOD-SF-INT-ODATA , OData API Framework , LOD-SF-INT , Integrations , LOD-SF-INT-MDF , Metadata Framework API (MDF) , How To

Product

SAP SuccessFactors HCM Core all versions ; SAP SuccessFactors HCM Suite all versions