Hi @ksoman,
the form itself is picked up from the database, if you configure a formRef
.
To get the form into the database, you have to deploy it. One way is shown in Nialls video. (Deployment form the modeler)
Another way to deploy the form is SpringBoot auto deployment.
There are two different ways, depending if you use @EnableProcessApplication
on your @SpringBootApplication
or not.
If you use a process application, the processes.xml
in the META-INF folder has to look like:
<process-application
xmlns="http://www.camunda.org/schema/1.0/ProcessApplication"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<process-archive>
<properties>
<property name="isDeleteUponUndeploy">false</property>
<property name="isScanForProcessDefinitions">true</property>
<property name="additionalResourceSuffixes">form</property>
</properties>
</process-archive>
</process-application>
The additionalResourceSuffixes
will pick up all files ending with .form
.
If you don’t use @EnableProcessApplication
, you have to add this snippet to the application.yml
camunda.bpm:
deployment-resource-pattern:
- classpath*:**/*.bpmn
- classpath*:**/*.bpmn20.xml
- classpath*:**/*.dmn
- classpath*:**/*.dmn11.xml
- classpath*:**/*.form
Hope this helps, Ingo