Symptom
How to do a query to get an attachment from pending MDF workflow.
Environment
SAP SuccessFactors Odata API
Resolution
This expand need to be used: &$expand=wfRequestNav, cust_attachmentNav
Example: <API URL Server>/odata/v2/cust_MDF(effectiveStartDate=datetime'2020-12-01T00:00:00',externalCode='0001')?$format=JSON&recordStatus=pending&fromDate=1900-01-01&toDate=2099-01-01&$expand=wfRequestNav, cust_attachmentNav
See Also
SAP SuccessFactors HCM Suite OData API: Reference Guide
SF OData API error expanding the wfRequestNav in custom MDF entity - SAP SuccessFactors HXM Suite
Custom MDF: Cannot query data for pending records via API - SAP SuccessFactors HXM suite
Keywords
workflow, pending, attachment, expand, wfRequestNav, cust_attachmentNav , KBA , LOD-SF-INT , Integrations , LOD-SF-INT-MDF , Metadata Framework API (MDF) , LOD-SF-INT-ODATA , OData API Framework , How To