on ‎2022 Dec 02 5:42 AM
Hi Team,
We have developed SAPUI5 application with MTA with managed approuter , where we are trying to start workflow instance from app. For that we are first fetching the xsrf token.
After deploying to CF, we are getting below error
bpmworkflowruntime/v1/xsrf-token completed with status 500 Failed to find credentials for service com.sap.spa.processautomation for request

Below is xsapp.json

Kindly help!
Request clarification before answering.
Hi,
I cannot say, the most interesting things are anyway not visible in this editor view.
Are you following a document or tutorial? I think these are questions that should be clarified in these documents.
On a generic level, I think you want to integrate a business service into a Managed Approuter. I think that is the appropriate documentation:
Regards,
Tobias
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.

Hi You guys,
I'm stuck on get xsrf token for days. Ashutosh is right, the destination 'bpmworkflowruntime' must link to destination service which binded with your business application. Long story short, the destination 'bpmworkflowruntime' in subaccount cockpit/Connectivity/Destinations created manually not work, you will read 500 if getting xsrf-token. You must navigate to destination service(click the destination link to access the destination instance view), create the destination 'bpmworkflowruntime'. And then you will see the magic.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ashutosh,
I think the app/approuter has no reference to the processautomation service so that it cannot look up necessary credentials. Perhaps you have not bound that service or you haven't specified in respective description files (mta.yaml).
Regards,
Tobias
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @ashutoshrambhal,
I am facing a similar situation, could you please elaborate more on your answer?
| User | Count |
|---|---|
| 7 | |
| 6 | |
| 6 | |
| 6 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 3 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.