mirror of
https://github.com/sartography/sample-process-models.git
synced 2025-02-23 13:18:21 +00:00
87 lines
3.5 KiB
XML
87 lines
3.5 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/" xmlns:biodi="http://bpmn.io/schema/dmn/biodi/2.0" id="Definitions_76910d7" name="DRD" namespace="http://camunda.org/schema/1.0/dmn">
|
||
<decision id="Analyze_Telephone_Number" name="Analyze Telephone Number">
|
||
<decisionTable id="decisionTable_1">
|
||
<input id="InputClause_17b0zis" label="Last Name">
|
||
<inputExpression id="LiteralExpression_0x39cnu" typeRef="string">
|
||
<text>lastName</text>
|
||
</inputExpression>
|
||
</input>
|
||
<input id="input_1" label="Telephone Number ">
|
||
<inputExpression id="inputExpression_1" typeRef="string">
|
||
<text>telephone[-10:]</text>
|
||
</inputExpression>
|
||
</input>
|
||
<output id="output_1" label="The Real Chuck Norris?" name="isRealChuckNorris" typeRef="boolean" biodi:width="213" />
|
||
<output id="OutputClause_1673dq5" label="Which Number?" name="whichNumber" typeRef="string" />
|
||
<rule id="DecisionRule_1yjspgz">
|
||
<description>Chuck's Fan Club Number</description>
|
||
<inputEntry id="UnaryTests_085sq4v">
|
||
<text>"Norris"</text>
|
||
</inputEntry>
|
||
<inputEntry id="UnaryTests_1bgag1f">
|
||
<text>"8005425277"</text>
|
||
</inputEntry>
|
||
<outputEntry id="LiteralExpression_0a5on0w">
|
||
<text>True</text>
|
||
</outputEntry>
|
||
<outputEntry id="LiteralExpression_07mfoe4">
|
||
<text>"Chuck's Fan Club Number"</text>
|
||
</outputEntry>
|
||
</rule>
|
||
<rule id="DecisionRule_07etzet">
|
||
<description>Chuck's Personal Number</description>
|
||
<inputEntry id="UnaryTests_1vtuaws">
|
||
<text>"Norris"</text>
|
||
</inputEntry>
|
||
<inputEntry id="UnaryTests_1yiowkv">
|
||
<text>"7138686003"</text>
|
||
</inputEntry>
|
||
<outputEntry id="LiteralExpression_0m7de9t">
|
||
<text>True</text>
|
||
</outputEntry>
|
||
<outputEntry id="LiteralExpression_0h3b5uk">
|
||
<text>"Chuck's Personal Number"</text>
|
||
</outputEntry>
|
||
</rule>
|
||
<rule id="DecisionRule_0uyopuf">
|
||
<description>Some Other Chuck Norris</description>
|
||
<inputEntry id="UnaryTests_1cn2jao">
|
||
<text>"Norris"</text>
|
||
</inputEntry>
|
||
<inputEntry id="UnaryTests_1jgotny">
|
||
<text></text>
|
||
</inputEntry>
|
||
<outputEntry id="LiteralExpression_1g2mys3">
|
||
<text>False</text>
|
||
</outputEntry>
|
||
<outputEntry id="LiteralExpression_0hou6zp">
|
||
<text>"Some Other Chuck Norris"</text>
|
||
</outputEntry>
|
||
</rule>
|
||
<rule id="DecisionRule_0qayvc7">
|
||
<description>Some Other Chuck</description>
|
||
<inputEntry id="UnaryTests_0a8743h">
|
||
<text></text>
|
||
</inputEntry>
|
||
<inputEntry id="UnaryTests_0o62phl">
|
||
<text></text>
|
||
</inputEntry>
|
||
<outputEntry id="LiteralExpression_14w3mam">
|
||
<text>False</text>
|
||
</outputEntry>
|
||
<outputEntry id="LiteralExpression_0wp28cy">
|
||
<text>"Some Other Chuck"</text>
|
||
</outputEntry>
|
||
</rule>
|
||
</decisionTable>
|
||
</decision>
|
||
<dmndi:DMNDI>
|
||
<dmndi:DMNDiagram id="DMNDiagram_1cykosu">
|
||
<dmndi:DMNShape id="DMNShape_1dhfq2s" dmnElementRef="Analyze_Telephone_Number">
|
||
<dc:Bounds height="80" width="180" x="157" y="151" />
|
||
</dmndi:DMNShape>
|
||
</dmndi:DMNDiagram>
|
||
</dmndi:DMNDI>
|
||
</definitions>
|