sample-process-models/demo/amin-demo/check-if-match.dmn

37 lines
1.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/" id="Definitions_76910d7" name="DRD" namespace="http://camunda.org/schema/1.0/dmn">
<decision id="Check_If_Match" name="Check If Match">
<decisionTable id="decisionTable_1">
<input id="input_1" label="Annual Salary / 12 = Invoice Amount?">
<inputExpression id="inputExpression_1" typeRef="number">
<text>(annual_salary/12)/invoiceAmount</text>
</inputExpression>
</input>
<output id="output_1" label="Match?" name="isMatch" typeRef="boolean" />
<rule id="DecisionRule_0g8lzfi">
<inputEntry id="UnaryTests_0xdm1tc">
<text>1</text>
</inputEntry>
<outputEntry id="LiteralExpression_06fsqul">
<text>True</text>
</outputEntry>
</rule>
<rule id="DecisionRule_1uathhd">
<inputEntry id="UnaryTests_1vsc4hr">
<text></text>
</inputEntry>
<outputEntry id="LiteralExpression_1kga8fn">
<text>False</text>
</outputEntry>
</rule>
</decisionTable>
</decision>
<dmndi:DMNDI>
<dmndi:DMNDiagram id="DMNDiagram_1cykosu">
<dmndi:DMNShape id="DMNShape_1dhfq2s" dmnElementRef="Check_If_Match">
<dc:Bounds height="80" width="180" x="157" y="151" />
</dmndi:DMNShape>
</dmndi:DMNDiagram>
</dmndi:DMNDI>
</definitions>