demo-process-models/playground/dilshad/dilshad-workflow/product_price.dmn

48 lines
1.8 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="product_price" name="product_price">
<decisionTable id="decisionTable_1">
<input id="input_1">
<inputExpression id="inputExpression_1" typeRef="string">
<text></text>
</inputExpression>
</input>
<output id="output_1" typeRef="string" />
<rule id="DecisionRule_0sz81mg">
<description>Product A</description>
<inputEntry id="UnaryTests_036t0kn">
<text>"product_a"</text>
</inputEntry>
<outputEntry id="LiteralExpression_15nhyya">
<text>15.00</text>
</outputEntry>
</rule>
<rule id="DecisionRule_15dbmcw">
<description>Product B</description>
<inputEntry id="UnaryTests_04lv6yf">
<text>"product_b"</text>
</inputEntry>
<outputEntry id="LiteralExpression_0wvx2lc">
<text>20.00</text>
</outputEntry>
</rule>
<rule id="DecisionRule_1tkr2w6">
<description>Product C</description>
<inputEntry id="UnaryTests_0g8h2gk">
<text>"product_c"</text>
</inputEntry>
<outputEntry id="LiteralExpression_1fuyaqf">
<text>30.00</text>
</outputEntry>
</rule>
</decisionTable>
</decision>
<dmndi:DMNDI>
<dmndi:DMNDiagram id="DMNDiagram_1cykosu">
<dmndi:DMNShape id="DMNShape_1dhfq2s" dmnElementRef="product_price">
<dc:Bounds height="80" width="180" x="120" y="100" />
</dmndi:DMNShape>
</dmndi:DMNDiagram>
</dmndi:DMNDI>
</definitions>