Skip to main content
Now you are ready to set up your first process application project in the IDE of your choice (for example IntelliJ IDEA, Eclipse, or VS Code).

Terminology: processes vs. decisions

DMN is a modeling language for decisions, whereas BPMN is a language for processes. This tutorial focuses on decisions. However, the Java project contains classes and files with names like ProcessApplication and processes.xml. These are generally applicable and can be used with both processes and decisions.

Create a new Maven project

Create a new Maven project named dinner-dmn. Use your IDE’s New Maven Project wizard — choose a simple project and skip the archetype selection. Since you are setting up a WAR project, set Packaging to war. You can also create the project directly from the pom.xml shown below.

Add ASEE Flow Maven dependencies

The next step consists of setting up the Maven dependencies for your new process application. Add the following dependencies to the pom.xml file of your project:
Now you can perform the first build. Select the pom.xml in the Package Explorer, right-click, and select Run As > Maven Install.
Catch up: get the sources of Step-1
Or download as a .zip.

Add a process application class

Next, create a package — for example org.camunda.bpm.getstarted.dmn — and add a process application class to it. The process application class constitutes the interface between your application and the process engine.

Add a META-INF/processes.xml deployment descriptor

The last step to set up the process application is to add the META-INF/processes.xml deployment descriptor file. This file lets you provide a declarative configuration of the deployment(s) this process application makes to the process engine. This file needs to be added to the src/main/resources/META-INF folder of the Maven project.
At this point you have successfully set up the process application, and you can start modeling your first decision table.
Catch up: get the sources of Step-2
Or download as a .zip.

Next step

Continue to create a decision table.