-
Notifications
You must be signed in to change notification settings - Fork 142
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
Add support for editing variable property #594
Comments
Please add more context to this feature request.
|
Hi Niklas Kiefer,
I wanted to add the data type for the InputData.
[image: image.png]
Above is the inputData which I have added, and I want to add the data type
for the same like this.
Below is from VScode "kogito bundle"" editor.
Same feature I am am looking in dmn-js.
[image: image.png]
…On Tue, Oct 13, 2020 at 1:04 PM Niklas Kiefer ***@***.***> wrote:
Please add more context to this feature request.
- Are you referring to missing DMN 1.3 support? If yes, can you
explain, what property is missing and reference the specification
accordingly?
- How should the solution look like? Can you provide a sketch or
something similar?
- Why is this feature needed?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#594 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AD2IZ2RZ22B4PBLOYR5AKI3SKP7H3ANCNFSM4SOII4EA>
.
|
So giving this forum thread answer you're looking for support for the "variable" property, right? If yes, we already support rendering it, but there is currently no way to edit this property. If I am right, please update the issue description to indicate this accordingly. |
We can't see your attached images |
@suniv2010 can you confirm whether it's about the <?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/" id="Definitions_1gd0ltx" name="DRD" namespace="http://camunda.org/schema/1.0/dmn" exporter="Camunda Modeler" exporterVersion="4.3.0">
<inputData id="InputData_1">
<variable id="Variable1" name="Age" typeRef="number"/>
</inputData>
<dmndi:DMNDI>
<dmndi:DMNDiagram>
<dmndi:DMNShape id="DMNShape_124il6q" dmnElementRef="InputData_1">
<dc:Bounds height="45" width="125" x="148" y="78" />
</dmndi:DMNShape>
</dmndi:DMNDiagram>
</dmndi:DMNDI>
</definitions> I'd like to scope this PR in case it's only missing property support so we can move forward with this one. |
Since no updates came in I updated the issues given the assumptions I made. |
@pinussilvestrus so, how to add |
Hi @Dogtiti, I believe this issue would better work via the properties panel as we don't really see variable on the diagram. What do you think? If you agree, please open an issue in that project and link this issue back. |
Is your feature request related to a problem? Please describe.
The DMN 1.3 specification describes a
variable
property forinputData
anddecision
elements.It can be used to specify a data type, e.g.
Currently, we only support importing this property, but it can't be set in the dmn properties panel.
Describe the solution you'd like
Make it possible to configure the
variable
property in thedmn-js-properties-panel
.Describe alternatives you've considered
/
Additional context
/
The text was updated successfully, but these errors were encountered: