mirror of
https://github.com/kmitresse/Compo-Service-Log-Project.git
synced 2026-05-13 17:11:49 +00:00
55 lines
2.1 KiB
XML
55 lines
2.1 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<definitions xmlns="https://www.omg.org/spec/DMN/20191111/MODEL/" id="definitions_16re855" name="definitions" namespace="http://camunda.org/schema/1.0/dmn" exporter="dmn-js (https://demo.bpmn.io/dmn)" exporterVersion="16.6.2">
|
|
<decision id="decision_02zhvl1" name="">
|
|
<decisionTable id="decisionTable_0k2npw5">
|
|
<input id="InputClause_0eqj4n9" label="Barcode (EAN 13)">
|
|
<inputExpression id="LiteralExpression_1u9u1as" typeRef="string">
|
|
<text></text>
|
|
</inputExpression>
|
|
</input>
|
|
<output id="output1" label="Country" name="" typeRef="string" />
|
|
<rule id="DecisionRule_0oklu3j">
|
|
<inputEntry id="UnaryTests_19vxqzm">
|
|
<text>string length(?)=13 and starts with(?, "3") and not matches(?, "^3[89]")</text>
|
|
</inputEntry>
|
|
<outputEntry id="LiteralExpression_01ucmmd">
|
|
<text>"France-Monaco"</text>
|
|
</outputEntry>
|
|
</rule>
|
|
<rule id="DecisionRule_18xknsg">
|
|
<inputEntry id="UnaryTests_0uflcxg">
|
|
<text>matches(?, "^46\d{11}$")</text>
|
|
</inputEntry>
|
|
<outputEntry id="LiteralExpression_0hpx07f">
|
|
<text>"Russia"</text>
|
|
</outputEntry>
|
|
</rule>
|
|
<rule id="DecisionRule_0jko2nu">
|
|
<inputEntry id="UnaryTests_0u30ape">
|
|
<text>string length(?)=13 and starts with(?, "560")</text>
|
|
</inputEntry>
|
|
<outputEntry id="LiteralExpression_0v8lp29">
|
|
<text>"Portugal"</text>
|
|
</outputEntry>
|
|
</rule>
|
|
<rule id="DecisionRule_1nsy4ze">
|
|
<inputEntry id="UnaryTests_15tlrit">
|
|
<text>
|
|
matches(?, "^9[0-1]{1}\d{10}$")</text>
|
|
</inputEntry>
|
|
<outputEntry id="LiteralExpression_1hbw2ir">
|
|
<text>"AT"</text>
|
|
</outputEntry>
|
|
</rule>
|
|
<rule id="DecisionRule_1i8wl7f">
|
|
<inputEntry id="UnaryTests_183xj46">
|
|
<text>matches(?, "^9[0-1]{1}\d{10}$")</text>
|
|
</inputEntry>
|
|
<outputEntry id="LiteralExpression_08v0zvo">
|
|
<text>"Austria"</text>
|
|
</outputEntry>
|
|
</rule>
|
|
</decisionTable>
|
|
</decision>
|
|
</definitions>
|