Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve error messages for DMN deployments #4120

Open
sarvartojikulov opened this issue Feb 7, 2024 · 8 comments
Open

Improve error messages for DMN deployments #4120

sarvartojikulov opened this issue Feb 7, 2024 · 8 comments
Labels
backlog Queued in backlog bug Something isn't working DMN linting ux

Comments

@sarvartojikulov
Copy link

sarvartojikulov commented Feb 7, 2024

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

  • History cleanup already filled
  • Properly described error message
  • Description in Documentation

Environment

  • OS: MacOS -> Docker
  • Camunda Modeler Version: 5.19
  • Execution Platform: Camunda 7.20

Additional context

No response

@sarvartojikulov sarvartojikulov added the bug Something isn't working label Feb 7, 2024
@jppazmin
Copy link

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

thanks

@sarvartojikulov
Copy link
Author

@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
Copy link
Member

nikku commented Feb 15, 2024

Related to #4062.

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

@nikku nikku added the linting label Feb 15, 2024
@nikku
Copy link
Member

nikku commented Feb 15, 2024

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

@nikku nikku added the backlog Queued in backlog label Feb 15, 2024
@sarvartojikulov
Copy link
Author

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

@nikku
Copy link
Member

nikku commented Feb 28, 2024

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
Copy link
Member

nikku commented Feb 28, 2024

Via #4062 and friends we'll have additional HTTL hints available for you in the properties panel (via a tooltip).

@emersonsilvadocktech
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog Queued in backlog bug Something isn't working DMN linting ux
Projects
None yet
Development

No branches or pull requests

4 participants