-
Notifications
You must be signed in to change notification settings - Fork 479
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 DMN modeling UX for Camunda Cloud #2525
Comments
Assigning to @barmac who will work on this conceptually (how will we ship this stripped-down dmn editor) |
Thanks @saig0 for creating this issue. I am moving this currently to the backlog until we start working on it (which will happen later this quarter). |
@barmac we should plan a few more adjustments to improve the UX: Restricting the naming/usage of the decision ID
Suggestion/idea:
Avoiding differences of the decision ID and the output name
Suggestion/idea:
cc: @nikku |
Makes a lot of sense @saig0. @barmac please correct me on the following assessment:
Straight forward to implement.
A little harder to implement; to be decided if we implement it (need to trade of with modeling UX) => Maybe handle via linting?
As I understand the engine will ignore the output name, right? @saig0. So we could argue here that this is a case for linting (tell users their output name is going to be ignored for single output column tables). |
I think we can change the ID validation pretty easily. However, I believe in this case linting is more suitable as the DMN is still valid but the engine cannot handle the ID (yet?). The same can be applied to the single output decision -> we should be able to model DMN as we want but get a warning if it's not supported by the engine. |
That approach would follow the principles that we defined for validation and linting:
However, so far there is no DMN linting in place. So, doing things differently here is not preferred but is an option. |
Hey @saig0, I created follow-up issues for your suggestions in #2525 (comment): |
Is your feature request related to a problem? Please describe.
In Camunda Cloud
1.3.0
1.4.0
, we will support evaluating DMN decisions in Zeebe. Since Zeebe will use a different DMN engine than Camunda Platform and doesn't support all features from the Platform, we should remove some properties to improve the modeling UX.Describe the solution you'd like
In order to improve the DMN UX for Zeebe and the new DMN engine, we should adjust the following parts:
Version Tag
- not supported by ZeebeHistory Time to Live
- not supported by ZeebedecisionId
(in Zeebe, keys are the identifiers of the record entity)Expression Language
on inputs (i.e. input expressions), input entries, and output entries - Zeebe supports only FEELInput Variable
on inputs - in FEEL, the input value can be accessed by using?
if neededinteger
+long
+double
in favor of a new optionnumber
on selecting theType
of inputs and outputs - in FEEL, there is only a number type (represented asBigDecimal
)time
+dateTime
+dayTimeDuration
+yearMonthDuration
+Any
on selecting theType
of inputs and outputs - in order to cover the most common types of FEELinteger
+long
+double
in favor of a new optionnumber
on selecting theVariable Type
- in FEEL, there is only a number typetime
+dateTime
+dayTimeDuration
+yearMonthDuration
+Any
on selecting theVariable Type
of inputs and outputs - in order to cover the most common types of FEELDescribe alternatives you've considered
No changes. It should be possible to deploy a DMN with the current modeler if no unsupported features are used. Otherwise, the deployment with the DMN is rejected.
Additional context
None.
The text was updated successfully, but these errors were encountered: