SAP Knowledge Base Article - Public

3785896 - SFOData.WfRequest - Pending with field is unavailable/step ownerID has null value

Symptom

Which field can be used to determine the workflow is currently pending with? The field wfRequestStepNav/ownerId to identify the action owner but this field is null for most of the workflows in PENDING/LOCKED status. Why the value of ownerId is null for most of the steps although in SuccessFactors UI the workflow is awaiting approval from a user.

Environment

SAP SuccessFactors HXM Suite

  • OData API Framework

Resolution

There is no provision to fetch the current approver information (like ownerId) in a workflow when the approverType is Dynamic Group or Position. The ownerId will have the value null even there is only one owner. This is expected behavior as per current system design.

Keywords

current approver, workflow action owner, WfRequestStep, OData navigation property, dynamic group, position, workflow approval queue, workflows awaiting approval, successfactors workflow API, owner identifier, null, ownerId field, workflow status, approval step owner, approverType , KBA , LOD-SF-INT-ODATA , OData API Framework , Problem

Product

SAP SuccessFactors HCM Core 2605