Automatic Deployment

BPMN processes and DMN tables can be automatically deployed on the application startup.

Use the following Flowable application properties.

  • flowable.process-definition-location-prefix — Defines the folder in which processes need to be searched for auto deployment.

    Default value is classpath*:/processes/.

  • flowable.process-definition-location-suffixes — Defines the suffix (extensions) of the files that need to be deployed from the process-definition-location-prefix location.

    Default value is **.bpmn20.xml,**.bpmn.

  • flowable.dmn.resource-location — Defines the location where the DMN resources are located.

    Default value is classpath*:/dmn/.

  • flowable.dmn.resource-suffixes — Defines the suffixes for the resources that need to be scanned.

    Default value is **.dmn,**.dmn.xml,**.dmn11,**.dmn11.xml.

Only files modified since the last application start will be deployed.

Here is an example of locating processes and DMN resources in the directories by default.

tree