cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

CF - Principal propagation - JAVA workflows destination

enric101
Active Contributor
0 Likes
1,397

Hi experts,

I'm trying to start a workflow from java microservice using destination with this configuration

But when I call the destination with JAVA (using app router) the call answers the "unauthorized" message.

If I try to call api using API MANAGEMENT I have the following response:

{"error":{"code":"bpm.workflowruntime.rest.principalpropagation.not.possible","message":"The operation that you performed requires principal propagation but you are authenticated with an OAuth grant that cannot be propagated. Please perform this operation with a grant type that contains a user identity.","logId":"60-d9e3-4bb2-a742-04a9f328"}}

Could you provide some example with CF the principal propagation in JAVA using destinations?

Thanks

Regards

View Entire Topic
michael_sutter
Advisor
Advisor

Hi Enric,

the error message already tells you that your used OAuth grant is not usable for principal propagation within SAP Workflow Service.


Please have a look into the documentation for supported grant types:

https://help.sap.com/viewer/e157c391253b4ecd93647bf232d18a83/Cloud/en-US/dc85ee84d6d64d139329c6f7b5a...

Kind regards,

Michael Sutter

enric101
Active Contributor
0 Likes

Thanks for you support Michael