camunda / camunda-dmn-js

Embeddable Camunda modeling distributions based on dmn-js
MIT License
6 stars 2 forks source link

Suggest element ID instead of name for variable suggestions #83

Closed barmac closed 10 months ago

barmac commented 11 months ago

Is your feature request related to a problem? Please describe.

In Camunda, expressions have to use element ID (specifically decision ID) in order to reference variables. Currently, the editor suggests element name which is contrary to the engine implementation, even though it's the way it's specified in DMN.

Describe the solution you'd like

Variable suggestions should use element ID. They can optionally provide element name in description.

Describe alternatives you've considered

Change the engine implementation.

Additional context

barmac commented 10 months ago

I reached out to DMN experts to clarify this: https://camunda.slack.com/archives/C01QYD808A3/p1699368885971839

barmac commented 10 months ago

Conclusion: We are following up with this as for now.