camunda / camunda-modeler

An integrated modeling solution for BPMN, DMN and Forms based on bpmn.io.
https://camunda.com/products/modeler
MIT License
1.47k stars 474 forks source link

Improve error messages for DMN deployments #4120

Open sarvartojikulov opened 5 months ago

sarvartojikulov commented 5 months ago

Describe the bug

When i am deploying a DMN Diagram without filling "History cleanup", i am getting deployment error : "ENGINE-22004 Unable to transform DMN resource 'your_diagram.dmn'. [ deploy-error ]"

As i can see all mandatory fields like General > Name and General -> ID are pre-filled with default values.

Camunda Moedeler v5.19 Camunda 7.20

Steps to reproduce

  1. Create DMN Diagram for Camunda v7
  2. Deploy it
  3. You will recieve error : "ENGINE-22004 Unable to transform DMN resource 'your_diagram.dmn'. [ deploy-error ]"

Expected behavior

Environment

Additional context

No response

jppazmin commented 4 months ago

@sarvartojikulov Did you fix your issue ? I facing the same error.

thanks

sarvartojikulov commented 4 months ago

@jppazmin Hi, yes you should fill the Field in Decision (DMN Diagram) -> History Cleanup, Time to Live Screenshot 2024-02-13 at 08 39 09

nikku commented 4 months ago

Related to https://github.com/camunda/camunda-modeler/issues/4062.

We shall offer a proper UX that tells you about history time to live being required.

nikku commented 4 months ago

@sarvartojikulov Could you share a screenshot with the exact deployment error message you're seeing?

sarvartojikulov commented 4 months ago

@nikku Here is a Screenshot with Error Message: Screenshot 2024-02-15 at 17 15 44

nikku commented 4 months ago

Thanks @sarvartojikulov. To be investigated if this is a modeler issue (not forwarding deploy errors) or a limitation of the engine (Camunda 7.20) not passing these errors.

nikku commented 4 months ago

Via https://github.com/camunda/camunda-modeler/issues/4062 and friends we'll have additional HTTL hints available for you in the properties panel (via a tooltip).

emersonsilvadocktech commented 1 month ago

Hey guys! Just to contribute, I managed to get past the problem by setting a value for History Cleanup (Time to live) in the decision object within the ".dmn" file.