Skip to content

Instantly share code, notes, and snippets.

@porcelli
Created April 20, 2020 18:32
Show Gist options
  • Save porcelli/59a11711ad2bc3d6ec0899491bb3b64d to your computer and use it in GitHub Desktop.
Save porcelli/59a11711ad2bc3d6ec0899491bb3b64d to your computer and use it in GitHub Desktop.
new-file.dmn
<dmn:definitions xmlns:dmn="http://www.omg.org/spec/DMN/20180521/MODEL/" xmlns="https://kiegroup.org/dmn/_74CAE8CB-97AF-4A96-9EC1-9C5387BBCB74" xmlns:di="http://www.omg.org/spec/DMN/20180521/DI/" xmlns:kie="http://www.drools.org/kie/dmn/1.2" xmlns:dmndi="http://www.omg.org/spec/DMN/20180521/DMNDI/" xmlns:dc="http://www.omg.org/spec/DMN/20180521/DC/" xmlns:feel="http://www.omg.org/spec/DMN/20180521/FEEL/" id="_9482222E-818D-4042-985F-36768867EB29" name="new-file" typeLanguage="http://www.omg.org/spec/DMN/20180521/FEEL/" namespace="https://kiegroup.org/dmn/_74CAE8CB-97AF-4A96-9EC1-9C5387BBCB74">
<dmn:extensionElements/>
<dmn:itemDefinition id="_74A1EA46-DB8F-40A6-89C3-C2E75F2C28EC" name="MyType" isCollection="false">
<dmn:typeRef>number</dmn:typeRef>
</dmn:itemDefinition>
<dmn:inputData id="_C3D08B6B-819A-4351-9E83-1A83D8ED9DEA" name="InputData-1">
<dmn:extensionElements/>
<dmn:variable id="_4EC33386-9504-41F0-9B92-34B686623002" name="InputData-1" typeRef="MyType"/>
</dmn:inputData>
<dmn:decision id="_9EF3CB8E-19BA-4ACD-A641-D9BDDC3C2D46" name="Decision-1">
<dmn:extensionElements/>
<dmn:variable id="_A0C2BDD0-8A66-42E9-97CB-3F1364A0EF8A" name="Decision-1" typeRef="string"/>
<dmn:informationRequirement id="_C6180BBC-C2BC-4B68-9F00-F01065778A1C">
<dmn:requiredInput href="#_C3D08B6B-819A-4351-9E83-1A83D8ED9DEA"/>
</dmn:informationRequirement>
<dmn:decisionTable id="_565E14D6-6ADF-48E8-9A65-344C3B0DA357" hitPolicy="UNIQUE" preferredOrientation="Rule-as-Row">
<dmn:input id="_270552A8-6C99-4D1C-9E75-EC1B4464E64B">
<dmn:inputExpression id="_CF70ADBD-2D82-449C-AECC-743B22E1C9E3" typeRef="number">
<dmn:text>InputData-1</dmn:text>
</dmn:inputExpression>
</dmn:input>
<dmn:output id="_EC8AB02A-6AB5-4D34-B1ED-F4018F202139"/>
<dmn:annotation name="annotation-1"/>
<dmn:rule id="_CFBF28C6-F40C-42B0-AA5A-BE62CDF78ED0">
<dmn:inputEntry id="_4AAC87B4-EE14-464E-B48E-243A62CBAD5E">
<dmn:text>1</dmn:text>
</dmn:inputEntry>
<dmn:outputEntry id="_5E9E64C4-2E50-4949-89BA-2769D2141625">
<dmn:text>"fine"</dmn:text>
</dmn:outputEntry>
<dmn:annotationEntry>
<dmn:text/>
</dmn:annotationEntry>
</dmn:rule>
</dmn:decisionTable>
</dmn:decision>
<dmndi:DMNDI>
<dmndi:DMNDiagram>
<di:extension>
<kie:ComponentsWidthsExtension>
<kie:ComponentWidths dmnElementRef="_565E14D6-6ADF-48E8-9A65-344C3B0DA357">
<kie:width>50</kie:width>
<kie:width>100</kie:width>
<kie:width>100</kie:width>
<kie:width>100</kie:width>
</kie:ComponentWidths>
</kie:ComponentsWidthsExtension>
</di:extension>
<dmndi:DMNShape id="dmnshape-_C3D08B6B-819A-4351-9E83-1A83D8ED9DEA" dmnElementRef="_C3D08B6B-819A-4351-9E83-1A83D8ED9DEA" isCollapsed="false">
<dmndi:DMNStyle>
<dmndi:FillColor red="255" green="255" blue="255"/>
<dmndi:StrokeColor red="0" green="0" blue="0"/>
<dmndi:FontColor red="0" green="0" blue="0"/>
</dmndi:DMNStyle>
<dc:Bounds x="292" y="270" width="100" height="50"/>
<dmndi:DMNLabel/>
</dmndi:DMNShape>
<dmndi:DMNShape id="dmnshape-_9EF3CB8E-19BA-4ACD-A641-D9BDDC3C2D46" dmnElementRef="_9EF3CB8E-19BA-4ACD-A641-D9BDDC3C2D46" isCollapsed="false">
<dmndi:DMNStyle>
<dmndi:FillColor red="255" green="255" blue="255"/>
<dmndi:StrokeColor red="0" green="0" blue="0"/>
<dmndi:FontColor red="0" green="0" blue="0"/>
</dmndi:DMNStyle>
<dc:Bounds x="293" y="169" width="100" height="50"/>
<dmndi:DMNLabel/>
</dmndi:DMNShape>
<dmndi:DMNEdge id="dmnedge-_C6180BBC-C2BC-4B68-9F00-F01065778A1C" dmnElementRef="_C6180BBC-C2BC-4B68-9F00-F01065778A1C">
<di:waypoint x="342" y="295"/>
<di:waypoint x="343" y="194"/>
</dmndi:DMNEdge>
</dmndi:DMNDiagram>
</dmndi:DMNDI>
</dmn:definitions>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment