No decision table reference key is defined on dmn activity

Hi everyone I’ve created a process I want add a decision table toit. I assign the my table in the ‘Decision table reference’ field of the decision task, but when I check gives me the error ‘No decision table reference key is defined on dmn activity’.

I was testing the DMN tutorial

https://www.flowable.org/docs/userguide-dmn/index.html#bpmn20

This is my xml code of the process.

<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:flowable="http://flowable.org/bpmn" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:omgdc="http://www.omg.org/spec/DD/20100524/DC" xmlns:omgdi="http://www.omg.org/spec/DD/20100524/DI" typeLanguage="http://www.w3.org/2001/XMLSchema" expressionLanguage="http://www.w3.org/1999/XPath" targetNamespace="http://www.flowable.org/processdef">
  <process id="nuevo2" name="Nuevo2" isExecutable="true">
    <documentation>NUEVO2</documentation>
    <startEvent id="startEvent1" name="start" flowable:formKey="categoriaCliente" flowable:formFieldValidation="true"></startEvent>
    <sequenceFlow id="sid-E3963AE7-B39D-440E-AD95-AB7226427FA8" sourceRef="startEvent1" targetRef="sid-BC2089A1-90DA-4775-922B-8CE8A045FD70"></sequenceFlow>
    <serviceTask id="sid-BC2089A1-90DA-4775-922B-8CE8A045FD70" name="Determine Discount" flowable:type="dmn">
      <extensionElements>
        <flowable:field name="decisionTableReferenceKey">
          <flowable:string><![CDATA[DET_DISC_1]]></flowable:string>
        </flowable:field>
        <flowable:field name="decisionTaskThrowErrorOnNoHits">
          <flowable:string><![CDATA[false]]></flowable:string>
        </flowable:field>
        <flowable:field name="fallbackToDefaultTenant">
          <flowable:string><![CDATA[false]]></flowable:string>
        </flowable:field>
      </extensionElements>
    </serviceTask>
    <userTask id="sid-A4CE6225-D707-4870-8B40-05874CE6C5BD" name="Display Discount" flowable:assignee="$INITIATOR" flowable:formKey="mostrarDescuento" flowable:formFieldValidation="true">
      <extensionElements>
        <modeler:activiti-idm-initiator xmlns:modeler="http://flowable.org/modeler"><![CDATA[true]]></modeler:activiti-idm-initiator>
      </extensionElements>
    </userTask>
    <sequenceFlow id="sid-901B049A-6B16-43C3-90A3-43DECC20ED62" sourceRef="sid-BC2089A1-90DA-4775-922B-8CE8A045FD70" targetRef="sid-A4CE6225-D707-4870-8B40-05874CE6C5BD"></sequenceFlow>
    <endEvent id="sid-EA62D996-3BEF-4609-A4E7-FFC1E9A3FDB0" name="end"></endEvent>
    <sequenceFlow id="sid-E4285F88-EE94-4B46-947A-1F9A4F9719FB" sourceRef="sid-A4CE6225-D707-4870-8B40-05874CE6C5BD" targetRef="sid-EA62D996-3BEF-4609-A4E7-FFC1E9A3FDB0"></sequenceFlow>
  </process>
  <bpmndi:BPMNDiagram id="BPMNDiagram_nuevo2">
    <bpmndi:BPMNPlane bpmnElement="nuevo2" id="BPMNPlane_nuevo2">
      <bpmndi:BPMNShape bpmnElement="startEvent1" id="BPMNShape_startEvent1">
        <omgdc:Bounds height="30.0" width="30.0" x="90.0" y="163.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-BC2089A1-90DA-4775-922B-8CE8A045FD70" id="BPMNShape_sid-BC2089A1-90DA-4775-922B-8CE8A045FD70">
        <omgdc:Bounds height="80.0" width="100.0" x="175.0" y="138.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-A4CE6225-D707-4870-8B40-05874CE6C5BD" id="BPMNShape_sid-A4CE6225-D707-4870-8B40-05874CE6C5BD">
        <omgdc:Bounds height="80.0" width="100.0" x="315.0" y="135.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="sid-EA62D996-3BEF-4609-A4E7-FFC1E9A3FDB0" id="BPMNShape_sid-EA62D996-3BEF-4609-A4E7-FFC1E9A3FDB0">
        <omgdc:Bounds height="28.0" width="28.0" x="465.0" y="164.0"></omgdc:Bounds>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge bpmnElement="sid-901B049A-6B16-43C3-90A3-43DECC20ED62" id="BPMNEdge_sid-901B049A-6B16-43C3-90A3-43DECC20ED62">
        <omgdi:waypoint x="274.95000000000005" y="176.92857142857142"></omgdi:waypoint>
        <omgdi:waypoint x="314.99999999999847" y="176.07035714285715"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-E4285F88-EE94-4B46-947A-1F9A4F9719FB" id="BPMNEdge_sid-E4285F88-EE94-4B46-947A-1F9A4F9719FB">
        <omgdi:waypoint x="414.95000000000005" y="175.0"></omgdi:waypoint>
        <omgdi:waypoint x="440.0" y="175.0"></omgdi:waypoint>
        <omgdi:waypoint x="440.0" y="178.0"></omgdi:waypoint>
        <omgdi:waypoint x="465.0" y="178.0"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="sid-E3963AE7-B39D-440E-AD95-AB7226427FA8" id="BPMNEdge_sid-E3963AE7-B39D-440E-AD95-AB7226427FA8">
        <omgdi:waypoint x="119.94999873104688" y="178.0"></omgdi:waypoint>
        <omgdi:waypoint x="174.99999999997792" y="178.0"></omgdi:waypoint>
      </bpmndi:BPMNEdge>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</definitions>

And this is my xml code of Decision table

<definitions xmlns="http://www.omg.org/spec/DMN/20180521/MODEL/" id="definition_f1344710-0c85-11ea-a731-0a0027000002" name="Determine Discount" namespace="http://www.flowable.org/dmn">
  <decision id="DET_DISC_1" name="Determine Discount">
    <decisionTable id="decisionTable_f1344710-0c85-11ea-a731-0a0027000002" hitPolicy="FIRST">
      <input label="Customer Category">
        <inputExpression id="inputExpression_1" typeRef="string">
          <text>customerCat</text>
        </inputExpression>
        <inputValues>
          <text>"BRONZE","SILVER","GOLD"</text>
        </inputValues>
      </input>
      <output id="outputExpression_2" label="Discount Percentage" name="discountperc" typeRef="number">
        <outputValues>
          <text>"0","5","10","20"</text>
        </outputValues>
      </output>
      <rule>
        <inputEntry id="inputEntry_1_1">
          <text><![CDATA[== "BRONZE"]]></text>
        </inputEntry>
        <outputEntry id="outputEntry_2_1">
          <text><![CDATA[5]]></text>
        </outputEntry>
      </rule>
      <rule>
        <inputEntry id="inputEntry_1_2">
          <text><![CDATA[== "SILVER"]]></text>
        </inputEntry>
        <outputEntry id="outputEntry_2_2">
          <text><![CDATA[10]]></text>
        </outputEntry>
      </rule>
      <rule>
        <inputEntry id="inputEntry_1_3">
          <text><![CDATA[== "GOLD"]]></text>
        </inputEntry>
        <outputEntry id="outputEntry_2_3">
          <text><![CDATA[20]]></text>
        </outputEntry>
      </rule>
      <rule>
        <inputEntry id="inputEntry_1_4">
          <text><![CDATA[-]]></text>
        </inputEntry>
        <outputEntry id="outputEntry_2_4">
          <text><![CDATA[0]]></text>
        </outputEntry>
      </rule>
    </decisionTable>
  </decision>
</definitions>

Thanks!

Hi everyone! I have got the some issues and I am unable to go ahead and publish the app and save and validate my process. Did someone solved this issue?? thank you so much.