User: waqqas.jabbar@gmail.com added process model file playground/nutech/spiff-example-1/shipping_costs.dmn

This commit is contained in:
sartography-automated-committer 2024-02-07 16:43:32 +00:00
parent 99758b1111
commit d33f678c79
1 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,38 @@
<?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>