Not able to perform tasks with Workflow, for example withdraw, decline or reject, using ODATA API with an user with RBP admin permissions.
SuccessFactors OData API
Reproducing the Issue
- 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
- Then you receive the error message: [COE0018]User "admin_username" is not authorized to perform the action for the workflow
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.
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”.
OData API Workflow COE0018 , KBA , LOD-SF-INT-ODATA , OData API Framework , LOD-SF-INT , Integrations , Product Enhancement