mirror of
https://github.com/sartography/sample-process-models.git
synced 2025-02-24 21:58:18 +00:00
45 lines
1.7 KiB
XML
45 lines
1.7 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="fruit_colors" name="Fruit Colors">
|
|
<decisionTable id="decisionTable_1">
|
|
<input id="input_1" biodi:width="192">
|
|
<inputExpression id="inputExpression_1" typeRef="string">
|
|
<text>favoriteFruit</text>
|
|
</inputExpression>
|
|
</input>
|
|
<output id="output_1" name="color" typeRef="string" />
|
|
<rule id="DecisionRule_1bzkcvr">
|
|
<inputEntry id="UnaryTests_1ub8o3r">
|
|
<text>"apples"</text>
|
|
</inputEntry>
|
|
<outputEntry id="LiteralExpression_04pv6a1">
|
|
<text>"RED"</text>
|
|
</outputEntry>
|
|
</rule>
|
|
<rule id="DecisionRule_1u6pida">
|
|
<inputEntry id="UnaryTests_0nxpysl">
|
|
<text>"oranges"</text>
|
|
</inputEntry>
|
|
<outputEntry id="LiteralExpression_0fr2d5o">
|
|
<text>"ORANGE"</text>
|
|
</outputEntry>
|
|
</rule>
|
|
<rule id="DecisionRule_1h4e2a7">
|
|
<inputEntry id="UnaryTests_0y2ppie">
|
|
<text>"bananas"</text>
|
|
</inputEntry>
|
|
<outputEntry id="LiteralExpression_0v4bbj9">
|
|
<text>"YELLOW"</text>
|
|
</outputEntry>
|
|
</rule>
|
|
</decisionTable>
|
|
</decision>
|
|
<dmndi:DMNDI>
|
|
<dmndi:DMNDiagram id="DMNDiagram_1cykosu">
|
|
<dmndi:DMNShape id="DMNShape_1dhfq2s" dmnElementRef="fruit_colors">
|
|
<dc:Bounds height="80" width="180" x="157" y="151" />
|
|
</dmndi:DMNShape>
|
|
</dmndi:DMNDiagram>
|
|
</dmndi:DMNDI>
|
|
</definitions>
|