demo-process-models/potentially-promote-to-exam.../call-activities-with-data-i.../numbers_to_letters.dmn

53 lines
1.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/" id="Definitions_76910d7" name="DRD" namespace="http://camunda.org/schema/1.0/dmn">
<decision id="decision_1" name="numbers_to_letters">
<decisionTable id="decisionTable_1">
<input id="input_1" label="x">
<inputExpression id="inputExpression_1" typeRef="string">
<text>x</text>
</inputExpression>
</input>
<output id="output_1" name="y" typeRef="string" />
<rule id="DecisionRule_00rc7vz">
<inputEntry id="UnaryTests_18u134n">
<text>1</text>
</inputEntry>
<outputEntry id="LiteralExpression_1kvg5d7">
<text>"A"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_1ksnfzd">
<inputEntry id="UnaryTests_1fodknj">
<text>2</text>
</inputEntry>
<outputEntry id="LiteralExpression_046os12">
<text>"B"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_0d4camr">
<inputEntry id="UnaryTests_03j6scg">
<text>3</text>
</inputEntry>
<outputEntry id="LiteralExpression_0aig0bw">
<text>"C"</text>
</outputEntry>
</rule>
<rule id="DecisionRule_03pmnzi">
<inputEntry id="UnaryTests_12zn7kb">
<text>4</text>
</inputEntry>
<outputEntry id="LiteralExpression_1n9zdq2">
<text>D</text>
</outputEntry>
</rule>
</decisionTable>
</decision>
<dmndi:DMNDI>
<dmndi:DMNDiagram id="DMNDiagram_1cykosu">
<dmndi:DMNShape id="DMNShape_1dhfq2s" dmnElementRef="decision_1">
<dc:Bounds height="80" width="180" x="157" y="151" />
</dmndi:DMNShape>
</dmndi:DMNDiagram>
</dmndi:DMNDI>
</definitions>