SAP Knowledge Base Article - Public

2610899 - Error to perform tasks with Workflow using ODATA API

Symptom

Not able to perform tasks with Workflow, for example withdraw, decline or reject, using ODATA API with an user with RBP admin permissions.

Environment

SuccessFactors OData API

Reproducing the Issue

  1. Try to perform a task, for example withdraw an Workflow ID using a user with admin permission: Ex: POST https://api19.sapsf.com/odata/v2/withdrawWfRequest?wfRequestId=301
  2. Then you receive the error message: [COE0018]User "admin_username" is not authorized to perform the action for the workflow

Cause

It is an expected behavior because in Odata API, only workflow current approver can perform the tasks with workflow, since the  Odata API doesn't check if the user has "Manage Workflow Requests" admin permission.

Resolution

You can submit an enhancement request to have this functionality considered within future development cycles – you can do this on our Customer Community Portal at https://influence.sap.com/successfactors

For detailed steps on how to raise an enhancement request please follow KBA Article 2090228 on “How to submit an enhancement request”.

Keywords

OData API Workflow  COE0018 , KBA , LOD-SF-INT-ODATA , OData API Framework , LOD-SF-INT , SF Integrations - EC Payroll, Boomi/ HCI, API , Product Enhancement

Product

SAP SuccessFactors HCM Suite all versions