Spring Boot Application using Camunda.
This project takes a CSV file and converts it to JSON. It uses a simple inventory replenishment example. A business user can deliver a CSV file that contains the rules for checking when to replenish the inventory. An IT team can take the file and create a DMN table. The CSV file serves as well as the input for the table.
With that in mind, the project shows some capabilities of not only DMN but of the whole Camunda Platform. More details are to be found as comments in the code and as annotations in the BPMN file.
You can build and run the process application with Spring Boot.
- Build the application using:
mvn clean package
- Run the *.jar file from the
target
directory using:
java -jar target/${project-artifactId}.jar
- Build and deploy the process application using:
mvn clean package spring-boot:run
- Run the project as a Java application in your IDE using CamundaApplication as the main class.
Once you deployed the application you can run it using Camunda Tasklist
There, start a new process instance of the process 'Process_csv'
Built and tested against Camunda BPM version 7.13.0.
As of March 2022, the project runs without issues, but the following warning is shown:
Warning: Nashorn engine is planned to be removed from a future JDK release
This can be resolved with little research online, by adding a new library.