User: brendan.winnacott@myome.com added process model file playground/myome/pizza/pizza_cost.dmn

This commit is contained in:
sartography-automated-committer 2023-11-20 21:33:15 +00:00
parent fb57ec48b9
commit a344529c48
1 changed files with 54 additions and 0 deletions

View File

@ -0,0 +1,54 @@
<?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="pizza_cost">
<decisionTable id="decisionTable_1">
<input id="input_1">
<inputExpression id="inputExpression_1" typeRef="string">
<text>pizza_size</text>
</inputExpression>
</input>
<output id="output_1" name="base_price" typeRef="string" />
<output id="OutputClause_1uzn1iv" label="topping_price" name="topping_price" typeRef="string" />
<rule id="DecisionRule_09ixpfi">
<inputEntry id="UnaryTests_02h39ji">
<text>"small"</text>
</inputEntry>
<outputEntry id="LiteralExpression_1vi1d9f">
<text>2000.01</text>
</outputEntry>
<outputEntry id="LiteralExpression_1amsd1j">
<text>300.01</text>
</outputEntry>
</rule>
<rule id="DecisionRule_0fts90x">
<inputEntry id="UnaryTests_0tp14pg">
<text>"medium"</text>
</inputEntry>
<outputEntry id="LiteralExpression_0u3snvh">
<text>2010.01</text>
</outputEntry>
<outputEntry id="LiteralExpression_1eu3gr2">
<text>400.01</text>
</outputEntry>
</rule>
<rule id="DecisionRule_0msca97">
<inputEntry id="UnaryTests_1cpanwx">
<text>"large"</text>
</inputEntry>
<outputEntry id="LiteralExpression_17opjlt">
<text>4000.01</text>
</outputEntry>
<outputEntry id="LiteralExpression_110jolc">
<text>2000.01</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>