104 lines
3.9 KiB
XML

<?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/" xmlns:biodi="http://bpmn.io/schema/dmn/biodi/2.0" id="Definitions_76910d7" name="DRD" namespace="http://camunda.org/schema/1.0/dmn">
<decision id="Boolean_Test" name="Boolean Test">
<decisionTable id="decisionTable_1">
<input id="input_1" label="Does a == 0" biodi:width="150">
<inputExpression id="inputExpression_1" typeRef="boolean">
<text>a==1</text>
</inputExpression>
</input>
<input id="InputClause_1w09lsj" label="Is a &#62; 0" biodi:width="150">
<inputExpression id="LiteralExpression_17h4b6k" typeRef="boolean">
<text>a &gt; 0</text>
</inputExpression>
</input>
<input id="InputClause_0gjyqfc" label="Is a &#60; 0" biodi:width="150">
<inputExpression id="LiteralExpression_0824u9r" typeRef="boolean">
<text>a &lt; 0</text>
</inputExpression>
</input>
<input id="InputClause_1ox66ta" label="Does a != 0">
<inputExpression id="LiteralExpression_0pp8nxi" typeRef="boolean">
<text>a != 0</text>
</inputExpression>
</input>
<output id="output_1" label="Result" name="result" typeRef="string" biodi:width="354" />
<rule id="DecisionRule_1yvuioe">
<inputEntry id="UnaryTests_0ifbgfr">
<text>True</text>
</inputEntry>
<inputEntry id="UnaryTests_03t6t1u">
<text>False</text>
</inputEntry>
<inputEntry id="UnaryTests_03fpyp0">
<text>False</text>
</inputEntry>
<inputEntry id="UnaryTests_0vpsqdc">
<text>False</text>
</inputEntry>
<outputEntry id="LiteralExpression_1db5nd9">
<text>"Rule 1 - a equals zero" </text>
</outputEntry>
</rule>
<rule id="DecisionRule_0jolxn4">
<inputEntry id="UnaryTests_0igos7s">
<text>False</text>
</inputEntry>
<inputEntry id="UnaryTests_0m2lj6h">
<text>True</text>
</inputEntry>
<inputEntry id="UnaryTests_05ch6qi">
<text>False</text>
</inputEntry>
<inputEntry id="UnaryTests_1hl0swz">
<text>True</text>
</inputEntry>
<outputEntry id="LiteralExpression_0pzx2gg">
<text>"Rule 2 - a is greater than zero" </text>
</outputEntry>
</rule>
<rule id="DecisionRule_1gtenjr">
<inputEntry id="UnaryTests_0a6awlw">
<text>False</text>
</inputEntry>
<inputEntry id="UnaryTests_18fef0r">
<text>False</text>
</inputEntry>
<inputEntry id="UnaryTests_0okarnm">
<text>True</text>
</inputEntry>
<inputEntry id="UnaryTests_0k1tkyo">
<text>True</text>
</inputEntry>
<outputEntry id="LiteralExpression_16r3oxl">
<text>"Rule 3 - a is less than zero" </text>
</outputEntry>
</rule>
<rule id="DecisionRule_1wl7xlj">
<inputEntry id="UnaryTests_127qjv2">
<text></text>
</inputEntry>
<inputEntry id="UnaryTests_0s3u6uu">
<text></text>
</inputEntry>
<inputEntry id="UnaryTests_1dci7si">
<text></text>
</inputEntry>
<inputEntry id="UnaryTests_15evfbm">
<text></text>
</inputEntry>
<outputEntry id="LiteralExpression_0ge9mo6">
<text>"Rule 4 - did not match anything"</text>
</outputEntry>
</rule>
</decisionTable>
</decision>
<dmndi:DMNDI>
<dmndi:DMNDiagram id="DMNDiagram_1cykosu">
<dmndi:DMNShape id="DMNShape_1dhfq2s" dmnElementRef="Boolean_Test">
<dc:Bounds height="80" width="180" x="157" y="151" />
</dmndi:DMNShape>
</dmndi:DMNDiagram>
</dmndi:DMNDI>
</definitions>