mirror of
https://github.com/sartography/demo-process-models.git
synced 2025-02-24 15:28:14 +00:00
55 lines
2.0 KiB
XML
55 lines
2.0 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="pizza_price">
|
|
<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_1aike7n" name="topping_price" typeRef="string" />
|
|
<rule id="DecisionRule_12xq33j">
|
|
<inputEntry id="UnaryTests_1frb4jm">
|
|
<text>"large"</text>
|
|
</inputEntry>
|
|
<outputEntry id="LiteralExpression_0f108v1">
|
|
<text>15</text>
|
|
</outputEntry>
|
|
<outputEntry id="LiteralExpression_0xiqab9">
|
|
<text>2</text>
|
|
</outputEntry>
|
|
</rule>
|
|
<rule id="DecisionRule_1a4tpb9">
|
|
<inputEntry id="UnaryTests_0tucdjo">
|
|
<text>"medium"</text>
|
|
</inputEntry>
|
|
<outputEntry id="LiteralExpression_0gd0bde">
|
|
<text>12.50</text>
|
|
</outputEntry>
|
|
<outputEntry id="LiteralExpression_0n62q8j">
|
|
<text>1</text>
|
|
</outputEntry>
|
|
</rule>
|
|
<rule id="DecisionRule_1bbu71z">
|
|
<inputEntry id="UnaryTests_00y51mm">
|
|
<text>"small"</text>
|
|
</inputEntry>
|
|
<outputEntry id="LiteralExpression_1m3z67z">
|
|
<text>10</text>
|
|
</outputEntry>
|
|
<outputEntry id="LiteralExpression_1618w8e">
|
|
<text>.50</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>
|