Describe the bug
A DecisionTable created with the Camunda modeller cannot be deployed because the historytimeToLife field is supposedly not set.
However, the field is set. In the XML, camunda must first be manually replaced with operaton to enable deployment.
To Reproduce
Steps to reproduce the behavior:
- Create a DMN
- Set the HistoryTimeToLife value
- Deploy the DMN
- See error
Expected behavior
- Create a DMN in Camunda Modeller
- Deploy
- Make Decisions ;-)
Screenshots
Desktop (please complete the following information):
- Operaton-Version: 1.0.0-beta-1
Additional context
Broken DMN
<?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:modeler="http://camunda.org/schema/modeler/1.0" xmlns:camunda="http://camunda.org/schema/1.0/dmn" id="Definitions_1mji5bg" name="DRD" namespace="http://camunda.org/schema/1.0/dmn" exporter="Camunda Modeler" exporterVersion="5.17.0" modeler:executionPlatform="Camunda Platform" modeler:executionPlatformVersion="7.20.0"> <decision id="Decision_0j4vkd9" name="Decision" camunda:historyTimeToLive="P180D"> <decisionTable id="DecisionTable_147fgwv"> <input id="InputClause_13pp7ge" label="Input"> <inputExpression id="LiteralExpression_0dvz4pg" typeRef="string" /> </input> <output id="OutputClause_0mf8yva" label="Outpu" typeRef="string" /> <rule id="DecisionRule_0915kz7"> <inputEntry id="UnaryTests_0mx2h2n"> <text>"1"</text> </inputEntry> <outputEntry id="LiteralExpression_1in6032"> <text>"yes"</text> </outputEntry> </rule> <rule id="DecisionRule_0grd5hg"> <inputEntry id="UnaryTests_0dxrzas"> <text>"2"</text> </inputEntry> <outputEntry id="LiteralExpression_1qrdzar"> <text>"no"</text> </outputEntry> </rule> </decisionTable> </decision> <dmndi:DMNDI> <dmndi:DMNDiagram> <dmndi:DMNShape id="DMNShape_1icafc9" dmnElementRef="Decision_0j4vkd9"> <dc:Bounds height="80" width="180" x="160" y="80" /> </dmndi:DMNShape> </dmndi:DMNDiagram> </dmndi:DMNDI> </definitions>
Working DMN
<?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:modeler="http://operaton.org/schema/modeler/1.0" xmlns:operaton="http://operaton.org/schema/1.0/dmn" id="Definitions_1mji5bg" name="DRD" namespace="http://operaton.org/schema/1.0/dmn" exporter="operaton Modeler" exporterVersion="5.17.0" modeler:executionPlatform="operaton Platform" modeler:executionPlatformVersion="7.20.0"> <decision id="Decision_0j4vkd9" name="Decision" operaton:historyTimeToLive="P180D"> <decisionTable id="DecisionTable_147fgwv"> <input id="InputClause_13pp7ge" label="Input"> <inputExpression id="LiteralExpression_0dvz4pg" typeRef="string" /> </input> <output id="OutputClause_0mf8yva" label="Outpu" typeRef="string" /> <rule id="DecisionRule_0915kz7"> <inputEntry id="UnaryTests_0mx2h2n"> <text>"1"</text> </inputEntry> <outputEntry id="LiteralExpression_1in6032"> <text>"yes"</text> </outputEntry> </rule> <rule id="DecisionRule_0grd5hg"> <inputEntry id="UnaryTests_0dxrzas"> <text>"2"</text> </inputEntry> <outputEntry id="LiteralExpression_1qrdzar"> <text>"no"</text> </outputEntry> </rule> </decisionTable> </decision> <dmndi:DMNDI> <dmndi:DMNDiagram> <dmndi:DMNShape id="DMNShape_1icafc9" dmnElementRef="Decision_0j4vkd9"> <dc:Bounds height="80" width="180" x="160" y="80" /> </dmndi:DMNShape> </dmndi:DMNDiagram> </dmndi:DMNDI> </definitions>
Describe the bug
A DecisionTable created with the Camunda modeller cannot be deployed because the historytimeToLife field is supposedly not set.
However, the field is set. In the XML, camunda must first be manually replaced with operaton to enable deployment.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Screenshots
Desktop (please complete the following information):
Additional context
Broken DMN
<?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:modeler="http://camunda.org/schema/modeler/1.0" xmlns:camunda="http://camunda.org/schema/1.0/dmn" id="Definitions_1mji5bg" name="DRD" namespace="http://camunda.org/schema/1.0/dmn" exporter="Camunda Modeler" exporterVersion="5.17.0" modeler:executionPlatform="Camunda Platform" modeler:executionPlatformVersion="7.20.0"> <decision id="Decision_0j4vkd9" name="Decision" camunda:historyTimeToLive="P180D"> <decisionTable id="DecisionTable_147fgwv"> <input id="InputClause_13pp7ge" label="Input"> <inputExpression id="LiteralExpression_0dvz4pg" typeRef="string" /> </input> <output id="OutputClause_0mf8yva" label="Outpu" typeRef="string" /> <rule id="DecisionRule_0915kz7"> <inputEntry id="UnaryTests_0mx2h2n"> <text>"1"</text> </inputEntry> <outputEntry id="LiteralExpression_1in6032"> <text>"yes"</text> </outputEntry> </rule> <rule id="DecisionRule_0grd5hg"> <inputEntry id="UnaryTests_0dxrzas"> <text>"2"</text> </inputEntry> <outputEntry id="LiteralExpression_1qrdzar"> <text>"no"</text> </outputEntry> </rule> </decisionTable> </decision> <dmndi:DMNDI> <dmndi:DMNDiagram> <dmndi:DMNShape id="DMNShape_1icafc9" dmnElementRef="Decision_0j4vkd9"> <dc:Bounds height="80" width="180" x="160" y="80" /> </dmndi:DMNShape> </dmndi:DMNDiagram> </dmndi:DMNDI> </definitions>Working DMN
<?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:modeler="http://operaton.org/schema/modeler/1.0" xmlns:operaton="http://operaton.org/schema/1.0/dmn" id="Definitions_1mji5bg" name="DRD" namespace="http://operaton.org/schema/1.0/dmn" exporter="operaton Modeler" exporterVersion="5.17.0" modeler:executionPlatform="operaton Platform" modeler:executionPlatformVersion="7.20.0"> <decision id="Decision_0j4vkd9" name="Decision" operaton:historyTimeToLive="P180D"> <decisionTable id="DecisionTable_147fgwv"> <input id="InputClause_13pp7ge" label="Input"> <inputExpression id="LiteralExpression_0dvz4pg" typeRef="string" /> </input> <output id="OutputClause_0mf8yva" label="Outpu" typeRef="string" /> <rule id="DecisionRule_0915kz7"> <inputEntry id="UnaryTests_0mx2h2n"> <text>"1"</text> </inputEntry> <outputEntry id="LiteralExpression_1in6032"> <text>"yes"</text> </outputEntry> </rule> <rule id="DecisionRule_0grd5hg"> <inputEntry id="UnaryTests_0dxrzas"> <text>"2"</text> </inputEntry> <outputEntry id="LiteralExpression_1qrdzar"> <text>"no"</text> </outputEntry> </rule> </decisionTable> </decision> <dmndi:DMNDI> <dmndi:DMNDiagram> <dmndi:DMNShape id="DMNShape_1icafc9" dmnElementRef="Decision_0j4vkd9"> <dc:Bounds height="80" width="180" x="160" y="80" /> </dmndi:DMNShape> </dmndi:DMNDiagram> </dmndi:DMNDI> </definitions>