Html forms in modeler and Camunda Run

Using Camunda BPM Run - seems simpler than Camunda BPM tomcat
Using Camunda modeler

Only been playing with Camunda for a few days.

I want to attach files to a user task - I believe this can be done with a html form:

If I use embedded:deployment:forms/pc-test.html I get

Form failure: The form with the resource name ‘forms/pc-test.html’ cannot be found in deployment.

If I use embedded:app:forms/pc-test.html I get
Form failure: The context path is either empty or not defined.

  1. Where do I put html file (pc-test.html) in Camunda BPM Run?
  2. What to I put in FormKey field? embedded:deployment:forms/pc-test.html?
  3. Is there a better or simpler way?
    pc-form-test.bpmn (2.4 KB)

it seems that forms need to be uploaded using separate tool.

Why can’t Camunda Modeler do this?

Just need location of form html file and I’m sure Camunda Modeler can upload form with process…

Anyway, others use Postman to do this.
Some use Curl.

Since I have access to curl, I decided to get this working.

If process bpmn and form html files are in current directory, this works:

curl ‘http://localhost:8080/engine-rest/deployment/create
-H ‘accept: application/json’
-F ‘deployment-name=processName’
-F “deployment-source=CURL_$(date | cut -d’ ’ -f4)”
-F ‘deploy-changed-only=false’
-F ‘process.bpmn=@process.bpmn;type=text/xml’
-F ‘form.html=@form.html;type=text/html’
-w “\n”

This features is coming don’t worry. But in the meantime, if you can’t wait that long you can always build a plugin the Modeler is open source and built to be extendable!


I’ll wait - no choice really,

works in modeler 4.7.0

1 Like