Hi,
I'm trying to use the JavaScript Library js/jbpm-forms-rest-integration.js to show a form and then start a process. I am using version 7.6.0 of the community edition, using the demo install
I'm looking for a bit of clarity on how to determine the hostUrl & deploymentId of the process.
According to the docs, I display the form using: showStartProcessForm(hostUrl, deploymentId, processId, divId, onsuccessCallback, onerrorCallback)
In the document example, the hostURL is "http://localhost:8080/kie-wb/". The deploymentId appears to be the D:A:V, so based on this, the following should work for me:
But all I get back is 404 - Not found. I've tried different values for hostURL (eg. replacing kie-wb with jbpm-console, as that is the war package where I got the js library), but with no better results. I'm guessing that my deploymentId is wrong, but I can't find a rest call I can use that returns the deploymentId for a container.
Any help is greatly appreciated.