cancel
Showing results for 
Search instead for 
Did you mean: 

Destinations "bpmworkflowruntime" response returned: "404: Not found"

angelcortes
Discoverer
0 Kudos

Hello everyone. Can you help me? I am making an application with HTML5 and SAPUI5 to start a Workflow. But, I have the following problem pressing the button. I think that my problem has to do with this error that I get when doing a connection test to the "bpmworkflowruntime" destination. What do you think.

Check Connection.

In my app, when press button start.

Accepted Solutions (1)

Accepted Solutions (1)

qmacro
Developer Advocate
Developer Advocate
0 Kudos

Hi Angel, here are some thoughts:

- the fact that the Check Connection returns a 404 is a little unfortunate; I think it may be to do with the fact that at the URL with only a root path ('/') there is really nothing there - the API describes resources that are under the '/rest' path. So basically don't be distracted by the 404 in the destination UI

- next thing to do is to check in the API Hub whether you can really call the APIs - configure an environment that matches your trial account and try out some of the API calls https://api.sap.com/api/SAP_CP_Workflow/resource (see bit.ly/handsonsapdev#ep41 for an example of how to do this - it's Business Rules not Workflow but exactly the same idea)

- but what you have to do is share with us how you are mapping the resource in your UI5 app to the destination; this is done with the neo-app.json file. What do you have in there?

angelcortes
Discoverer
0 Kudos

Hi DJ Adams, thanks.

According to the SAP Cloud Platform documentation.

To create a user interface (UI) in HTML5 capable of starting a Worflow.

I must transcribe the following code in the neo-app.json folder. So I have it in my project.

https://help.sap.com/viewer/f85276c5069a429fa37d1cd352785c25/Cloud/en-US/40dc85dcbf26402ba5be44d69a1...

qmacro
Developer Advocate
Developer Advocate
0 Kudos

It's still hard to help you right now, as the URL that's getting a 404 is obscured in the Headers panel of the Chrome Developer Tools. Can you share the complete URL? We can then check if it includes the "entryPath" value in the neo-app.json you've just shared.

Answers (0)