I am trying to use the Camunda Tomcat instance to deploy a process project. I am using a mix of embedded and Camunda forms. I have placed both the Camunda form and the embedded form into the /webapp/forms project folder. The embedded for work fine but the Camunda form says “Form Failure” when I start an instance. The logs show no errors that I can see.
This is how I setup the Camunda Form:
Create the Form file using Modeler - Basic Text Fields for now - saved in /webapp/forms
Set the ID of the form to “confirmQuoteInformationForm”
The BPMN file lives in the /resources folder
On a user task I set the Form Type to: Camunda Forms
On a user task I set the Form Ref to: “confirmQuoteInformationForm”
On a user task I set the Binding to: “deployment”
I build and copy to Tomcat /webapps
I can verify the BPMN deploy instance in cockpit.
Please help as there is a lot of broken information on the net about this depending on the version, config and deployment of Camunda you are running.
I am using Camunda Version: camunda-bpm-tomcat-7.16.0
I see that you are following the process application approach so your forms whether embedded html forms or Camunda forms are included in the process application itself (not deployed to the database)
Do the same as you did with embedded html forms but use below expression for formKey camunda-forms:app:forms/[FILE_NAME].form
SOLVED:
As @hassang said one needs to set the form key as per embedded form, and specifically you need the Form Type property set to “Embedded Form” and NOT “Camunda Form”. Which retrospectively makes total sense.