SAP Knowledge Base Article - Public

2963463 - Retrieve Employee Central Workflow records using OData API entities WfRequestUIData and getWorkflowPendingData

Symptom

You are trying to fetch the Employee Central workflow records using SuccessFactors OData API and you need to know some entities that can be used to view the same data you can see in the user interface.

Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.

Environment

SAP SuccessFactors OData API - Employee Central

Resolution

You can find details and samples in the Employee Central OData reference handbook chapter 16.

In this KBA, we are going to provide samples of two entities: WfRequestUIData and getWorkflowPendingData (Public Beta).

Samples below:

  • https://SFSFendpoint/odata/v2/TodoEntryV2(11717M)?$format=JSON&$expand=wfRequestNav/wfRequestUINav
  • https://SFSFendpoint/odata/v2/getWorkflowPendingData?wfRequestId=5118L&$format=json

And also one direct URL to access the WF in the UI (this was taken from the API response above).

  • https://SFSFendpoint/sf/hrisworkflowapprovelink?workflowRequestId=V2-uFsgulz8xsFhrph0ra7b4Q%3D%3D&prevPage=HOME&company=AAA&username=123&_s.crb=TiiDZ1AwshPnmjT1EM8mGewlr%252fkAA

Using these entities above you can fetch EC WF data to be consumed externally.

Keywords

Download, how to, Retrieve Employee Central Workflow records using OData API entities WfRequestUIData and getWorkflowPendingData, SuccessFactors HXM HCM Suite, WF, pending records, entries, view, fetch , KBA , LOD-SF-INT-EC , Employee Central SFAPI & OData Entities , LOD-SF-INT , Integrations , How To

Product

SAP SuccessFactors HXM Suite all versions