demo-process-models/potentially-promote-to-exam.../example-decision/abc.dmn

103 lines
3.4 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/" id="abc" name="abc" namespace="http://camunda.org/schema/1.0/dmn">
<decision id="decision_abc" name="abc">
<decisionTable id="decisionTable_1">
<input id="input_1">
<inputExpression id="inputExpression_1" typeRef="string">
<text>x</text>
</inputExpression>
</input>
<input id="InputClause_0fiw5qo">
<inputExpression id="LiteralExpression_0wapvku" typeRef="boolean">
<text>is_lower_case</text>
</inputExpression>
</input>
<output id="output_1" name="y" typeRef="number" />
<rule id="DecisionRule_1dzzpx9">
<inputEntry id="UnaryTests_1p51myj">
<text>1</text>
</inputEntry>
<inputEntry id="UnaryTests_0dfl4gk">
<text>True</text>
</inputEntry>
<outputEntry id="LiteralExpression_039dl5s">
<text>"a"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_1sycqvm">
<inputEntry id="UnaryTests_0evw4tz">
<text>1</text>
</inputEntry>
<inputEntry id="UnaryTests_13l9o4n">
<text>False</text>
</inputEntry>
<outputEntry id="LiteralExpression_08kdfb1">
<text>"A"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_09dxkjk">
<inputEntry id="UnaryTests_1gyjfqb">
<text>2</text>
</inputEntry>
<inputEntry id="UnaryTests_05w51q0">
<text>True</text>
</inputEntry>
<outputEntry id="LiteralExpression_0ndppqf">
<text>"b"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_12wufzt">
<inputEntry id="UnaryTests_1x01441">
<text>2</text>
</inputEntry>
<inputEntry id="UnaryTests_0b7bxpx">
<text>False</text>
</inputEntry>
<outputEntry id="LiteralExpression_1oturg0">
<text>"B"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_05yj9tk">
<inputEntry id="UnaryTests_1ihqz58">
<text>&gt;=3</text>
</inputEntry>
<inputEntry id="UnaryTests_0v32irf">
<text>True</text>
</inputEntry>
<outputEntry id="LiteralExpression_0acto1t">
<text>"c"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_1t4bs8b">
<inputEntry id="UnaryTests_1bqfa3i">
<text>&gt;=3</text>
</inputEntry>
<inputEntry id="UnaryTests_16ic1s0">
<text>False</text>
</inputEntry>
<outputEntry id="LiteralExpression_04sn827">
<text>"C"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_08fpvbl">
<inputEntry id="UnaryTests_0g6wb69">
<text></text>
</inputEntry>
<inputEntry id="UnaryTests_1uctjd5">
<text></text>
</inputEntry>
<outputEntry id="LiteralExpression_0iwpp9d">
<text>"ZED"</text>
</outputEntry>
</rule>
</decisionTable>
</decision>
<dmndi:DMNDI>
<dmndi:DMNDiagram id="DMNDiagram_1cykosu">
<dmndi:DMNShape id="DMNShape_1dhfq2s" dmnElementRef="decision_abc">
<dc:Bounds height="80" width="180" x="157" y="151" />
</dmndi:DMNShape>
</dmndi:DMNDiagram>
</dmndi:DMNDI>
</definitions>