cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

Hi All,

I am using workflows API to start and complete workflows from ABAP code given in the link below through restful abap.

I am able to successfully Start and Close workflows via abap code to call workflow API. The problem comes up when one user claims the workflow from My inbox and tries to complete it, Same abap code gets called trying to complete the workflow. But the API call gives an error 422 saying the entity is unprocessable. If the user unclaims it, we are able to successfully complete the workflows. Any help would be really appreciated.

https://blogs.sap.com/2019/07/09/leveraging-scp-neo-workflow-from-the-scp-abap-environment/comment-p...

0 Likes
View Entire Topic
tobias_breyer
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi Ravi,

it depends on how you integrate CP Workflow with the ABAP environment and what you want to achieve. Client-credentials is usually a "coded" way of calling the API. If the ABAP code itself was triggered from a web UI, I suppose it should be possible to use a token or session from there.

But I cannot help on how to use e. g. OAuth2SAMLBearer Assertion flow in the ABAP environment instead.

Regards,

Tobias