mirror of
https://github.com/sartography/sample-process-models.git
synced 2025-02-24 13:48:10 +00:00
81 lines
2.9 KiB
XML
81 lines
2.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="decision_pizza_price" name="Pizza Prices">
|
|
<decisionTable id="decisionTable_1">
|
|
<input id="input_1">
|
|
<inputExpression id="inputExpression_1" typeRef="string">
|
|
<text>pizza size</text>
|
|
</inputExpression>
|
|
</input>
|
|
<input id="InputClause_0tb0e89">
|
|
<inputExpression id="LiteralExpression_0xw5eoq" typeRef="string">
|
|
<text>number of toppings</text>
|
|
</inputExpression>
|
|
</input>
|
|
<output id="output_1" name="price" typeRef="string" biodi:width="242" />
|
|
<rule id="DecisionRule_019hrle">
|
|
<inputEntry id="UnaryTests_1q0t0x7">
|
|
<text>"large"</text>
|
|
</inputEntry>
|
|
<inputEntry id="UnaryTests_0jhesvg">
|
|
<text><= 3</text>
|
|
</inputEntry>
|
|
<outputEntry id="LiteralExpression_07xd059">
|
|
<text>12.50</text>
|
|
</outputEntry>
|
|
</rule>
|
|
<rule id="DecisionRule_04qgdlj">
|
|
<inputEntry id="UnaryTests_0l0yhsf">
|
|
<text>"medium"</text>
|
|
</inputEntry>
|
|
<inputEntry id="UnaryTests_0qw9n63">
|
|
<text><= 3</text>
|
|
</inputEntry>
|
|
<outputEntry id="LiteralExpression_0378xh1">
|
|
<text>10.50</text>
|
|
</outputEntry>
|
|
</rule>
|
|
<rule id="DecisionRule_03ajzbo">
|
|
<inputEntry id="UnaryTests_0z21d14">
|
|
<text>"small"</text>
|
|
</inputEntry>
|
|
<inputEntry id="UnaryTests_0bycx2u">
|
|
<text><= 3</text>
|
|
</inputEntry>
|
|
<outputEntry id="LiteralExpression_07dzz64">
|
|
<text>8.50</text>
|
|
</outputEntry>
|
|
</rule>
|
|
<rule id="DecisionRule_1fdzdnb">
|
|
<inputEntry id="UnaryTests_0eyhge4">
|
|
<text>"large"</text>
|
|
</inputEntry>
|
|
<inputEntry id="UnaryTests_196cm5s">
|
|
<text>> 3</text>
|
|
</inputEntry>
|
|
<outputEntry id="LiteralExpression_0ox0j96">
|
|
<text>12.50 + (1.25 * num_toppings)</text>
|
|
</outputEntry>
|
|
</rule>
|
|
<rule id="DecisionRule_0jrrf2w">
|
|
<inputEntry id="UnaryTests_0t557el">
|
|
<text></text>
|
|
</inputEntry>
|
|
<inputEntry id="UnaryTests_1ufi20x">
|
|
<text></text>
|
|
</inputEntry>
|
|
<outputEntry id="LiteralExpression_1jzwscw">
|
|
<text></text>
|
|
</outputEntry>
|
|
</rule>
|
|
</decisionTable>
|
|
</decision>
|
|
<dmndi:DMNDI>
|
|
<dmndi:DMNDiagram id="DMNDiagram_1cykosu">
|
|
<dmndi:DMNShape id="DMNShape_1dhfq2s" dmnElementRef="decision_pizza_price">
|
|
<dc:Bounds height="80" width="180" x="157" y="151" />
|
|
</dmndi:DMNShape>
|
|
</dmndi:DMNDiagram>
|
|
</dmndi:DMNDI>
|
|
</definitions>
|