Skip to Content
0
Nov 23, 2022 at 03:43 PM

SAP process automation BTP

267 Views Last edit Nov 23, 2022 at 03:44 PM 2 rev

Hello,

In SAP process automation(BTP service), can we call process through custom sapui5 application as inbound API integration is available now. I have followed

https://blogs.sap.com/2022/08/25/sap-process-automation-how-to-test-the-api-trigger-with-postman/

blog and able to trigger the process. Now I am trying same through simple sapui5 application. But it is not working. How destination and entries should be configured in xs.app.json file. I have written controller code similar to workflow service

my code-

 

xs-app.json

{

"source": "^/bpmworkflowruntimespa/(.*)$",

"target": "/$1",

"service": "com.sap.spa.processautomation",

"endpoint" : (not sure)

"authenticationType": "xsuaa"

}

Destination

Type=HTTP

clientId=****

Authentication=OAuth2ClientCredentials

Name=bpmworkflowruntimespa

tokenServiceURL=***/oauth/token

ProxyType=Internet

URL=*****hana.ondemand.com.com/workflow-service

tokenServiceURLType=Dedicated

Please guide.

Please let me know if any other inputs needed.

Regards,

Neha