SAP Knowledge Base Article - Public

2610899 - "You are not authorized to perform this action" error when performing tasks with workflows using OData API

Symptom

Not able to perform tasks with workflows (e.g. approve, decline, withdraw) using OData API Function Imports and an API user with the necessary permission (Manage Workflows > Manage Workflow Requests).

Environment

SAP SuccessFactors HCM Suite

Cause

This is an expected behavior. Just the workflows current approvers can perform tasks with them.

Resolution

There are two possible solutions:

  1. Grant OData API permissions to the workflow current approver;
  2. Set a group of approvers and include the API user there (instructions in the KBA 2080108);

Additionally, you can share an enhancement idea on the SAP Influence website (instructions in the KBA 2090228). Our product managers review these ideas, and the most popular ones are considered for implementation in future releases.

Keywords

You are not authorized to perform this action, error, perform, tasks, workflows, OData, API, function import , KBA , LOD-SF-INT-ODATA , OData API Framework , Problem

Product

SAP SuccessFactors HCM Suite all versions