spiff-arena/spiffworkflow-backend/tests/data/spiff_example/shipping_costs.dmn

39 lines
1.6 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_1f7g629" name="DRD" namespace="http://camunda.org/schema/1.0/dmn" exporter="Camunda Modeler" exporterVersion="4.11.1">
<decision id="shipping_costs" name="Shipping Costs">
<decisionTable id="DecisionTable_1ywyzrl">
<input id="Input_1">
<inputExpression id="InputExpression_1" typeRef="string" expressionLanguage="python">
<text>shipping_method</text>
</inputExpression>
</input>
<output id="Output_1" name="shipping_cost" typeRef="long" />
<rule id="DecisionRule_1hgbw82">
<description>Ground</description>
<inputEntry id="UnaryTests_0nlmjvp">
<text>"standard"</text>
</inputEntry>
<outputEntry id="LiteralExpression_1a2wcms">
<text>5.00</text>
</outputEntry>
</rule>
<rule id="DecisionRule_03844nt">
<description>Express</description>
<inputEntry id="UnaryTests_03npf6a">
<text>"overnight"</text>
</inputEntry>
<outputEntry id="LiteralExpression_1nm5aox">
<text>25.00</text>
</outputEntry>
</rule>
</decisionTable>
</decision>
<dmndi:DMNDI>
<dmndi:DMNDiagram>
<dmndi:DMNShape dmnElementRef="shipping_costs">
<dc:Bounds height="80" width="180" x="160" y="100" />
</dmndi:DMNShape>
</dmndi:DMNDiagram>
</dmndi:DMNDI>
</definitions>