Error while deploying DMN digram

Hello,

Created DMN digarm using desktop modeler, trying to deploy same on “Camunda Platform 8 self managed”, getting error while deployment

Command ‘CREATE’ rejected with code ‘INVALID_ARGUMENT’: Expected to deploy new resources, but encountered the following errors: FEEL expression: failed to parse expression ‘’: Expected (ifOp | forOp | quantifiedOp | disjunction):1:1, found “” [ deploy-error ]

found few post on simlar error but look like for latest version which i am using this has been resolved, still i am getting this error. please let me know if i am missing anything here

Camunda Modeler system information

  • Version: 5.1.0
  • Operating System: Windows 10 amd64
  • Plugins:
  • Execution Platform: DMN - Camunda Platform 8

Hi @nirav,

Can you please share your dmn definition.

Hello @hassang ,

PFB xml, trying simple DMN for POC

<?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" id="Definitions_1eek10b" name="DRD" namespace="http://camunda.org/schema/1.0/dmn" exporter="Camunda Modeler" exporterVersion="5.1.0" modeler:executionPlatform="Camunda Cloud" modeler:executionPlatformVersion="8.0.0">
  <decision id="DecisionForNextWorkUnit" name="DecisionForNextWorkUnit">
    <decisionTable id="DecisionTable_0chxxyi">
      <input id="Input_1" label="OrderType">
        <inputExpression id="InputExpression_1" typeRef="string">
          <text></text>
        </inputExpression>
      </input>
      <input id="InputClause_1gc0xvo" label="CurrentWorkUnit">
        <inputExpression id="LiteralExpression_1ycfjgs" typeRef="number">
          <text></text>
        </inputExpression>
      </input>
      <output id="Output_1" name="NextWorkUnit" typeRef="number" />
      <rule id="DecisionRule_1j1ft21">
        <inputEntry id="UnaryTests_0gumjx4">
          <text>"A"</text>
        </inputEntry>
        <inputEntry id="UnaryTests_18qyf5f">
          <text>0</text>
        </inputEntry>
        <outputEntry id="LiteralExpression_0jzhaez">
          <text>1</text>
        </outputEntry>
      </rule>
    </decisionTable>
  </decision>
  <dmndi:DMNDI>
    <dmndi:DMNDiagram>
      <dmndi:DMNShape dmnElementRef="DecisionForNextWorkUnit">
        <dc:Bounds height="80" width="180" x="160" y="80" />
      </dmndi:DMNShape>
    </dmndi:DMNDiagram>
  </dmndi:DMNDI>
</definitions>

Hello @hassang ,

One more point to add, while i am adding details for input, it doesn’t show me all options showcase here , Is it not available for self managed version ? OR I am missing something here ?

PFB screenshot from DMN I have created,

Thanks,
Nirav.

Hi @nirav,

You only specified values for input labels whereas you should specify values for input expressions.

The missing options are related to Camunda 7 platform. (For example: the “Expression Language” option doesn’t show up when platform 8 is selected because only FEEL language is supported in platform 8)

1 Like

Thanks @hassang , able to deploy DMN now.

1 Like

Hello ,

this is regarding the missing options related to Camunda 7 platform (Expression Language & Input Variable) in newer version of Camunda will be incorporated in coming days to support different languages other than FEEL. May be like PYTHON,JQUERY?

Thanks in Advance

Hi @Subramanya_Mulgund,

as the languages you mentined are not free of side effects, it’s unlikely that a service provider would like to have them on their cluster.

FEEL is a functional language without side effects. Python would open the door for remote code execution with DMN evaluation.

Hope this helps, Ingo