I have created a DMN diagram and run it with spring-boot and camunda 7.13. It works.
But when I have change camunda version to 7.12 then it throws exception which says that it is unable to parse *.dmn files.
I guess it is something with exporterVersion
in the *.dmn file?
This is my *.dmn file:
<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns="https://www.omg.org/spec/DMN/20191111/MODEL/" xmlns:dmndi="https://www.omg.org/spec/DMN/20191111/DMNDI/" xmlns:dc="http://www.omg.org/spec/DMN/20180521/DC/" xmlns:camunda="http://camunda.org/schema/1.0/dmn" id="Definitions_070pqmfactory0" name="mydmn" namespace="http://camunda.org/schema/1.0/dmn" exporter="Camunda Modeler" exporterVersion="4.1.1">
<decision id="mydmn" name="mydmn">
<decisionTable id="DecisionTable_0me79ch" hitPolicy="FIRST">
<input id="InputClause_01dvfil" camunda:inputVariable="dat">
<inputExpression id="LiteralExpression_0ho35f8" typeRef="date">
<text>dat</text>
</inputExpression>
</input>
<output id="Output_1" name="result" typeRef="string" />
<rule id="DecisionRule_0qaqk35">
<inputEntry id="UnaryTests_1j8yw0f">
<text>> date and time("2021-01-01T12:00:00")</text>
</inputEntry>
<outputEntry id="LiteralExpression_0tpbjuu">
<text>"001"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_0flpf6t">
<description></description>
<inputEntry id="UnaryTests_0gqtlw6">
<text></text>
</inputEntry>
<outputEntry id="LiteralExpression_0kl5ahu">
<text>"000"</text>
</outputEntry>
</rule>
</decisionTable>
</decision>
<dmndi:DMNDI>
<dmndi:DMNDiagram>
<dmndi:DMNShape dmnElementRef="mydmn">
<dc:Bounds height="80" width="180" x="160" y="100" />
</dmndi:DMNShape>
</dmndi:DMNDiagram>
</dmndi:DMNDI>
</definitions>
and this is part from pom.xml file:
<properties>
<java.version>11</java.version>
<camunda.spring-boot.version>3.4.0</camunda.spring-boot.version>
<spring-boot.version>2.2.5.RELEASE</spring-boot.version>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<camunda.version>7.12.0</camunda.version>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
<version>${spring-boot.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>org.camunda.bpm.springboot</groupId>
<artifactId>camunda-bpm-spring-boot-starter-webapp</artifactId>
<version>${camunda.spring-boot.version}</version>
</dependency>
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
</dependency>
<dependency>
<groupId>org.camunda.bpm.model</groupId>
<artifactId>camunda-dmn-model</artifactId>
<version>${camunda.version}</version>
</dependency>
<dependency>
<groupId>org.camunda.bpm.dmn</groupId>
<artifactId>camunda-engine-dmn</artifactId>
<version>${camunda.version}</version>
</dependency>
<dependency>
<groupId>org.camunda.bpm.extension.feel.scala</groupId>
<artifactId>feel-engine-plugin</artifactId>
<version>1.5.0</version>
</dependency>
</dependencies>